aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-01-01 17:41:28 +0100
committerDrahflow <drahflow@gmx.de>2014-01-01 17:41:28 +0100
commit0082edb51491d96e11e31128110ac8b83213a144 (patch)
treeac95b2c8ce749caaef6711cfe1b314844811175a /compiler
parent620eff4a9037aab7489b9cf04825ee1e8f7a686c (diff)
Function code references after patch now handled
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasGlobalSysAsm.ey5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/elymasGlobalSysAsm.ey b/compiler/elymasGlobalSysAsm.ey
index 691a20e..6a1e740 100644
--- a/compiler/elymasGlobalSysAsm.ey
+++ b/compiler/elymasGlobalSysAsm.ey
@@ -314,7 +314,10 @@
/rax :jmpqReg
] ::loadToRdi
- # TODO old references still around (and possibly used by later code)
+ # old references still around (and possibly used by later code) the
+ # garbage collector will detect forward-only code and react accordingly,
+ # but will correctly follow all references when hitting the code from
+ # stack data (e.g. as return address)
24 /r15 :pushqMemDisp8
32 /r15 :addqImm8Reg