aboutsummaryrefslogtreecommitdiff
path: root/elymas/lib/sys
diff options
context:
space:
mode:
Diffstat (limited to 'elymas/lib/sys')
-rw-r--r--elymas/lib/sys/so.ey4
1 files changed, 2 insertions, 2 deletions
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