From 4a67e48611c1ffaa6d474e443c3c89849c8b6e5f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 8 Jun 2009 16:35:59 -0300 Subject: new macro 'condmovestack' instead of 'condhardstacktests' --- ldo.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 57695b0a..3e0d50a8 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 2.11 2009/03/10 17:14:37 roberto Exp roberto $ +** $Id: ldo.h,v 2.12 2009/04/17 14:28:06 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -15,8 +15,7 @@ #define luaD_checkstack(L,n) \ if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \ - luaD_growstack(L, n); \ - else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1)); + luaD_growstack(L, n); else condmovestack(L); #define incr_top(L) {L->top++; luaD_checkstack(L,0);} -- cgit v1.2.3-55-g6feb