aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasAsmLib.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-09-27 21:56:11 +0200
committerDrahflow <drahflow@gmx.de>2013-09-27 21:56:11 +0200
commitf6af44d6742d96ecf002eb24475ecc23bf3d2d72 (patch)
tree41580218c3f6dfaf8733e846146d2a682d8a85bd /compiler/elymasAsmLib.ey
parent7521804dd8818778311720e4b0e1d69a029debb3 (diff)
currentScope now in r14
Diffstat (limited to 'compiler/elymasAsmLib.ey')
-rw-r--r--compiler/elymasAsmLib.ey14
1 files changed, 5 insertions, 9 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey
index 3e8538b..f08c643 100644
--- a/compiler/elymasAsmLib.ey
+++ b/compiler/elymasAsmLib.ey
@@ -332,8 +332,7 @@
@noResetNecessary
# start from current scope and mark all reachable blocks
- currentScope /rdi :movqImmReg
- /rdi /rdi :movqMemReg
+ /r14 /rdi :movqRegReg
/markObject :callqLbl32
# start from stack and mark all reachable blocks
@@ -1059,19 +1058,16 @@
8 /r15 :subqImm8Reg
/r15 :popqMem
8 /r15 :subqImm8Reg
- currentScope /rbx :movqImmReg
- /rbx /rsi :movqMemReg
- /rsi /r15 :movqRegMem
+ /r14 /r15 :movqRegMem
+ /r14 /rsi :movqRegReg
8 /rdi :movqImmReg
internalAllocateScope /rax :movqImmReg
/rax :callqReg
- /rax /rbx :movqRegMem
+ /rax /r14 :movqRegReg
] /scopingFunctionHeader defv
[
- /r15 /rcx :movqMemReg
- currentScope /rax :movqImmReg
- /rcx /rax :movqRegMem
+ /r15 /r14 :movqMemReg
8 /r15 :addqImm8Reg
/r15 :pushqMem
8 /r15 :addqImm8Reg