aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2015-05-14 01:53:57 +0200
committerDrahflow <drahflow@gmx.de>2015-05-14 01:53:57 +0200
commit0fc5c71d9777c4bf0fc2d0eb0a57569be8f777e2 (patch)
treec4d9f6e5997d5f34ca3d958a38b915637d3a23de
parentd141813328dcf06bf4612e87cd210de876023ace (diff)
Minimal explanation of what is going on
-rw-r--r--compiler/elymasAsmLib.ey4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey
index e5d90c9..e5e242b 100644
--- a/compiler/elymasAsmLib.ey
+++ b/compiler/elymasAsmLib.ey
@@ -374,6 +374,10 @@
/rbx :popqReg
:retn
+ # free lists are accumulated during searchForFreeBlock when small blocks are skipped
+ # they always point downwards in the heap and are terminated by a null pointer
+ # only cells below unusedHeapStart may be present in the free lists
+
@takeFromFreelist
/rdi /rax :movqRegReg
/rax :decqReg