diff options
| author | Drahflow <drahflow@gmx.de> | 2013-09-28 10:12:17 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-09-28 10:12:17 +0200 |
| commit | bddef22963302cb3f6340ab5323a930085dadbd5 (patch) | |
| tree | 413608ec87837e70904a2f4fa6587b1b46228738 /compiler/elymasGlobalSysAsm.ey | |
| parent | c9f003ea0a34a36fb6fb2bd285a7379f4aa36ea6 (diff) | |
heapSize is more useful
Diffstat (limited to 'compiler/elymasGlobalSysAsm.ey')
| -rw-r--r-- | compiler/elymasGlobalSysAsm.ey | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elymasGlobalSysAsm.ey b/compiler/elymasGlobalSysAsm.ey index 73719f9..a94c78f 100644 --- a/compiler/elymasGlobalSysAsm.ey +++ b/compiler/elymasGlobalSysAsm.ey @@ -237,7 +237,7 @@ [[ /rsp :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 10 /r15 :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 20 - ::heapEnd /rax :movqImmReg # 30 + ::heapSize /rax :movqImmReg # 30 /rbx :movqImmOOBReg %EE %EE %EE %EE %EE %EE %EE %EE # 40 /rbx /rax :movqRegMem # 43 ::unusedHeapStart /rax :movqImmReg # 53 @@ -276,7 +276,7 @@ # /r15 12 /rax :movqRegMemDisp8 # TODO: something like this (but correctly adjusted) would be right :mainCallStack .base :STACKSIZE add /rdx :movqImmReg # TODO whereas this just flushes the stack /rdx 12 /rax :movqRegMemDisp8 - ::heapEnd /rdx :movqImmReg + ::heapSize /rdx :movqImmReg /rdx /rdx :movqMemReg /rdx 32 /rax :movqRegMemDisp8 ::unusedHeapStart /rdx :movqImmReg |
