From 73517e86b02b47531bec189d4230e359274d8d04 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 11 Dec 2002 10:34:22 -0200 Subject: OP_TFORLOOP uses extra stack space --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index 3e22de75..0d96f632 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 1.113 2002/11/14 16:15:53 roberto Exp roberto $ +** $Id: lcode.c,v 1.114 2002/12/04 17:38:31 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -176,7 +176,7 @@ void luaK_concat (FuncState *fs, int *l1, int l2) { } -static void luaK_checkstack (FuncState *fs, int n) { +void luaK_checkstack (FuncState *fs, int n) { int newstack = fs->freereg + n; if (newstack > fs->f->maxstacksize) { if (newstack >= MAXSTACK) -- cgit v1.2.3-55-g6feb