mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 23:37:38 +02:00
Removed DEBUG_ALWAYS_GC
This commit is contained in:
parent
926d7b7881
commit
c41608af7c
1 changed files with 2 additions and 2 deletions
4
cgen.scm
4
cgen.scm
|
@ -151,7 +151,7 @@
|
||||||
"/* Return to continuation after checking for stack overflow. */\n"
|
"/* Return to continuation after checking for stack overflow. */\n"
|
||||||
"#define return_funcall" n "(cfn" args ") \\\n"
|
"#define return_funcall" n "(cfn" args ") \\\n"
|
||||||
"{char stack; \\\n"
|
"{char stack; \\\n"
|
||||||
" if (DEBUG_ALWAYS_GC || check_overflow(&stack,stack_limit1)) { \\\n"
|
" if (check_overflow(&stack,stack_limit1)) { \\\n"
|
||||||
" object buf[" n "]; " arry-assign "\\\n"
|
" object buf[" n "]; " arry-assign "\\\n"
|
||||||
" GC(cfn,buf," n "); return; \\\n"
|
" GC(cfn,buf," n "); return; \\\n"
|
||||||
" } else {funcall" n "((closure) (cfn)" args "); return;}}\n")))
|
" } else {funcall" n "((closure) (cfn)" args "); return;}}\n")))
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
"/* Evaluate an expression after checking for stack overflow. */\n"
|
"/* Evaluate an expression after checking for stack overflow. */\n"
|
||||||
"#define return_check" n "(_fn" args ") { \\\n"
|
"#define return_check" n "(_fn" args ") { \\\n"
|
||||||
" char stack; \\\n"
|
" char stack; \\\n"
|
||||||
" if (DEBUG_ALWAYS_GC || check_overflow(&stack,stack_limit1)) { \\\n"
|
" if (check_overflow(&stack,stack_limit1)) { \\\n"
|
||||||
" object buf[" n "]; " arry-assign " \\\n"
|
" object buf[" n "]; " arry-assign " \\\n"
|
||||||
" mclosure0(c1, _fn); \\\n"
|
" mclosure0(c1, _fn); \\\n"
|
||||||
" GC(&c1, buf, " n "); return; \\\n"
|
" GC(&c1, buf, " n "); return; \\\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue