From 21c4c6c58892bf2c6fc9211de2120980c11bf1f3 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Thu, 11 Jun 2015 17:13:16 +0200 Subject: Minor fixes --- compiler/elymasAsmLib.ey | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'compiler') 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 -- cgit v1.2.3