From 48033d4d5d654af91a4ba965aa30d64f047a9848 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Tue, 16 Jun 2015 12:34:17 +0200 Subject: FIXME resolved --- elymas/lib/sys/so.ey | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'elymas/lib/sys') diff --git a/elymas/lib/sys/so.ey b/elymas/lib/sys/so.ey index caac9c0..0203f18 100644 --- a/elymas/lib/sys/so.ey +++ b/elymas/lib/sys/so.ey @@ -656,7 +656,7 @@ } /resolveFunction deffd { ==filename # ==f (left on the stack a while and executed from sys .asm .programStart) - sys .asm .patchProgramStart ==frozenAllocationCount + sys .asm .patchProgramStart ==frozenAllocationCount ==heapSize { 8 { _ 256 mod -01 256 div } rep -- } /uint64 deffd { _ 0 lt { 4294967296 add } rep 4294967295 band 4 { _ 256 mod -01 256 div } rep -- } /uint32 deffd @@ -1034,7 +1034,7 @@ ==f - sys .asm .patchProgramStart frozenAllocationCount neq { + sys .asm .patchProgramStart -- heapSize neq { "freezing allocated new memory chunks, retrying..." dump f filename sys .so .freeze } rep -- cgit v1.2.3