aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasGlobalSysAsm.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/elymasGlobalSysAsm.ey
parent7521804dd8818778311720e4b0e1d69a029debb3 (diff)
currentScope now in r14
Diffstat (limited to 'compiler/elymasGlobalSysAsm.ey')
-rw-r--r--compiler/elymasGlobalSysAsm.ey9
1 files changed, 4 insertions, 5 deletions
diff --git a/compiler/elymasGlobalSysAsm.ey b/compiler/elymasGlobalSysAsm.ey
index 0c54b05..73719f9 100644
--- a/compiler/elymasGlobalSysAsm.ey
+++ b/compiler/elymasGlobalSysAsm.ey
@@ -243,9 +243,9 @@
::unusedHeapStart /rax :movqImmReg # 53
/rbx :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 63
/rbx /rax :movqRegMem # 66
- ::currentScope /rax :movqImmReg # 76
- /rbx :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 86
- /rbx /rax :movqRegMem # 89
+ 0 /rax :movqImmReg # 76 # TODO remove this line once r14 scoping is stable
+ /r14 :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 86
+ /rbx /rax :movqRegReg # 89 # TODO remove this line once r14 scoping is stable
:globalAllocations .base /rax :movqImmReg # 99
/rbx :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 109
/rbx /rax :movqRegMem # 112
@@ -282,8 +282,7 @@
::unusedHeapStart /rdx :movqImmReg
/rdx /rdx :movqMemReg
/rdx 55 /rax :movqRegMemDisp8
- ::currentScope /rdx :movqImmReg
- /rdx /rdx :movqMemReg
+ /r14 /rdx :movqRegReg
16 /rdx /rdx :movqMemDisp8Reg # unwind one scope
/rdx 78 /rax :movqRegMemDisp8
:globalAllocations .base /rdx :movqImmReg