aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-06-11 17:13:16 +0200
committerDrahflow <drahflow@gmx.de>2015-06-11 17:13:16 +0200
commit21c4c6c58892bf2c6fc9211de2120980c11bf1f3 (patch)
treeb50045e86a385d01c580f4579f5f3fe1683d2560 /compiler
parent5bbcdb3faeb11a93483bf2fbba46721c74a115bb (diff)
Minor fixes
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasAsmLib.ey11
1 files changed, 4 insertions, 7 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey
index ae47a9e..fca1620 100644
--- a/compiler/elymasAsmLib.ey
+++ b/compiler/elymasAsmLib.ey
@@ -1522,7 +1522,7 @@
# rax <- address of allocated integer
# chunk will have GC length header initialized correctly
[[
- 10 /rdi :movqImmReg
+ 16 /rdi :movqImmReg
internalAllocate /rax :movqImmReg
/rax :jmpqReg
]] /internalAllocateInteger defv
@@ -1671,12 +1671,9 @@
# set type
%50 7 /rax :orbImmMemDisp8
- /rsi :popqReg
- /rsi 8 /rax :movqRegMemDisp8
- /rdx :popqReg
- /rdx 16 /rax :movqRegMemDisp8
- /rdi :popqReg
- /rdi 24 /rax :movqRegMemDisp8
+ 8 /rax :popqMemDisp8
+ 16 /rax :popqMemDisp8
+ 24 /rax :popqMemDisp8
:retn
] /internalAllocateFunction defv