From facfcd497f1ac61fcd66ff7736c08ad03c527f18 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 2 Mar 2009 13:34:23 -0300 Subject: [PATCH] detail --- lvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lvm.c b/lvm.c index 53e94f21..a83be238 100644 --- a/lvm.c +++ b/lvm.c @@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.80 2008/11/06 12:43:51 roberto Exp roberto $ +** $Id: lvm.c,v 2.81 2009/02/16 20:09:28 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -399,7 +399,7 @@ void luaV_execute (lua_State *L) { TValue *k; reentry: /* entry point */ lua_assert(isLua(L->ci)); - cl = &clvalue(L->ci->func)->l; + cl = &curr_func(L)->l; base = L->base; k = cl->p->k; /* main loop of interpreter */