aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasAsmLib.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-06-17 15:54:33 +0200
committerDrahflow <drahflow@gmx.de>2015-06-17 15:54:33 +0200
commit58fdd254cedd61ab2a4a52b77010751c01e9c46a (patch)
tree5527e24b245f631dd24fcc7d9e5be6d2f0d65205 /compiler/elymasAsmLib.ey
parentc81b7f3d3fcc6eb37933e141d851ac58e53c63cd (diff)
Fixed weird instructions in @markFunction
Diffstat (limited to 'compiler/elymasAsmLib.ey')
-rw-r--r--compiler/elymasAsmLib.ey16
1 files changed, 6 insertions, 10 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey
index 9219c5d..0e94b07 100644
--- a/compiler/elymasAsmLib.ey
+++ b/compiler/elymasAsmLib.ey
@@ -977,18 +977,14 @@
# "function marked\n" outputError
# /rdi :popqReg
- /rdi :pushqReg
- /rdi :pushqReg
- 8 /rdi :addqImm8Reg
- /rdi /rdi :movqMemReg
+ /rsi :pushqReg
+ /rdi /rsi :movqRegReg
+ 8 /rsi /rdi :movqMemDisp8Reg
/markObject :callqLbl32
- /rdi :popqReg
- 16 /rdi :addqImm8Reg
- /rdi /rdi :movqMemReg
+ 16 /rsi /rdi :movqMemDisp8Reg
/markObject :callqLbl32
- /rdi :popqReg
- 24 /rdi :addqImm8Reg
- /rdi /rdi :movqMemReg
+ 24 /rsi /rdi :movqMemDisp8Reg
+ /rsi :popqReg
/markObject :jmpLbl32
6 /rax :movqImmReg # dead code for disambiguation in debugging