From 0fc5c71d9777c4bf0fc2d0eb0a57569be8f777e2 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Thu, 14 May 2015 01:53:57 +0200 Subject: Minimal explanation of what is going on --- compiler/elymasAsmLib.ey | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler') 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 -- cgit v1.2.3