summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-06-05 12:58:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2006-06-05 12:58:59 -0300
commite2dc5f5d15e59a335f3ae0561343b26825aea35f (patch)
tree7de850ae8f118e48f3e6e6d2b4521ad0689c8610
parented64346b9d5a3306ef649761de5ef7176275a618 (diff)
downloadlua-e2dc5f5d15e59a335f3ae0561343b26825aea35f.tar.gz
lua-e2dc5f5d15e59a335f3ae0561343b26825aea35f.tar.bz2
lua-e2dc5f5d15e59a335f3ae0561343b26825aea35f.zip
extra assertion
-rw-r--r--lvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lvm.c b/lvm.c
index 834dd432..6c92567f 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.61 2006/01/10 12:50:00 roberto Exp roberto $ 2** $Id: lvm.c,v 2.62 2006/01/23 19:51:43 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -376,6 +376,7 @@ void luaV_execute (lua_State *L, int nexeccalls) {
376 TValue *k; 376 TValue *k;
377 const Instruction *pc; 377 const Instruction *pc;
378 reentry: /* entry point */ 378 reentry: /* entry point */
379 lua_assert(isLua(L->ci));
379 pc = L->savedpc; 380 pc = L->savedpc;
380 cl = &clvalue(L->ci->func)->l; 381 cl = &clvalue(L->ci->func)->l;
381 base = L->base; 382 base = L->base;