diff --git a/src/toolsrc/codegen.pla b/src/toolsrc/codegen.pla index 0f5e7e3..cc43eb5 100644 --- a/src/toolsrc/codegen.pla +++ b/src/toolsrc/codegen.pla @@ -481,10 +481,10 @@ def init_idglobal#0 fixup_num = FIXUPNUM globalbufsz = IDGLOBALSZ localbufsz = IDLOCALSZ - if isult(heapavail, $4000) + if isult(heapavail, $8000) tag_num = TAGNUM/2 fixup_num = FIXUPNUM/2 - globalbufsz = IDGLOBALSZ/4 + globalbufsz = IDGLOBALSZ/2 localbufsz = IDLOCALSZ/2 fin tag_addr = heapalloc(tag_num*2)