diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-06-05 12:58:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-06-05 12:58:59 -0300 |
commit | e2dc5f5d15e59a335f3ae0561343b26825aea35f (patch) | |
tree | 7de850ae8f118e48f3e6e6d2b4521ad0689c8610 | |
parent | ed64346b9d5a3306ef649761de5ef7176275a618 (diff) | |
download | lua-github-e2dc5f5d15e59a335f3ae0561343b26825aea35f.tar.gz |
extra assertion
-rw-r--r-- | lvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lvm.c,v 2.61 2006/01/10 12:50:00 roberto Exp roberto $ +** $Id: lvm.c,v 2.62 2006/01/23 19:51:43 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -376,6 +376,7 @@ void luaV_execute (lua_State *L, int nexeccalls) { TValue *k; const Instruction *pc; reentry: /* entry point */ + lua_assert(isLua(L->ci)); pc = L->savedpc; cl = &clvalue(L->ci->func)->l; base = L->base; |