aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2014-02-23 08:56:38 +0100
committerDrahflow <drahflow@gmx.de>2014-02-23 08:56:38 +0100
commit1265229f8e72fb50ea23e128376a80273c170262 (patch)
tree1bf197341e5809e3ba4988fec678219dad71e9cc /compiler
parent9c3e0d41cc2c716e625aae53d72e6e989287d691 (diff)
Added >'
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasGlobal.ey17
1 files changed, 17 insertions, 0 deletions
diff --git a/compiler/elymasGlobal.ey b/compiler/elymasGlobal.ey
index 4435518..52f9aae 100644
--- a/compiler/elymasGlobal.ey
+++ b/compiler/elymasGlobal.ey
@@ -1158,6 +1158,23 @@
:retn
] /ey> defv
+ # switch parent of current scope to stack top object
+ # push current scope onto stack
+ # switch current scope to original parent
+ # 0 -> new parent
+ # 0 <- scope just exited
+ [
+ /rbx :popqReg
+ /rdx :popqReg
+ 16 /r14 /rax :movqMemDisp8Reg
+ /rdx 16 /r14 :movqRegMemDisp8
+ /r14 :pushqReg
+ /rax /r14 :movqRegReg
+ /rbx :pushqReg
+
+ :retn
+ ] /ey>' defv
+
# push current scope onto stack
# 0 <- current scope
[