aboutsummaryrefslogtreecommitdiff
path: root/compiler/elymasAsmLib.ey
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2013-08-08 22:33:17 +0200
committerDrahflow <drahflow@gmx.de>2013-08-08 22:33:17 +0200
commit8d77c18260191515d8d00a46f0806c1721b86b12 (patch)
treeb9bb8df82ba7b54bb1c7d0fb2976d4e2e5bd64ba /compiler/elymasAsmLib.ey
parenta8d7ccc4e6b9f5edaa81fc961ff462ba56a43897 (diff)
First usage of optimization semantics
Diffstat (limited to 'compiler/elymasAsmLib.ey')
-rw-r--r--compiler/elymasAsmLib.ey11
1 files changed, 8 insertions, 3 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey
index b1783ff..a002430 100644
--- a/compiler/elymasAsmLib.ey
+++ b/compiler/elymasAsmLib.ey
@@ -758,9 +758,14 @@
# rdi -> address of scope on the heap
# rsi -> address of element name on the heap
# rax <- address of element on the heap (0 if nonexistant)
- # rdx <- 0 if element is passive
- # 1 if element is active
- # 2 if element is quote-active
+ # rdx <- %xy
+ # y 0 eq if element is passive
+ # y 1 eq if element is active
+ # y 2 eq if element is quote-active
+ # x 1 band if element is static
+ # x 2 band if element is type constant
+ # x 4 band if element is constant
+ # x 8 band if element is deep constant
# rcx <- address of entry (i.e. where rax was loaded from)
[[
@retryWithParent