aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/stack.c')
-rw-r--r--ir/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/stack.c b/ir/stack.c
index 1dc29cd..40a7b1d 100644
--- a/ir/stack.c
+++ b/ir/stack.c
@@ -17,7 +17,7 @@ lowerstack(struct function *fn)
uint siz = ins->l.i << alignlog2;
fn->stksiz += siz;
fn->stksiz = alignup(fn->stksiz, 1 << alignlog2);
- if (fn->stksiz > (1<<16)-1) error(NULL, "'%s' stack frame too big", fn->name);
+ if (fn->stksiz > (1<<20)-1) error(NULL, "'%s' stack frame too big", fn->name);
*ins = mkinstr(Onop,0,);
replcuses(mkref(RTMP, t), mkref(RSTACK, fn->stksiz));
}