diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.8 2006/09/11 14:07:24 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.9 2008/04/07 18:44:23 roberto Exp roberto $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -173,7 +173,6 @@ static Proto* LoadFunction(LoadState* S, TString* p) | |||
173 | LoadCode(S,f); | 173 | LoadCode(S,f); |
174 | LoadConstants(S,f); | 174 | LoadConstants(S,f); |
175 | LoadDebug(S,f); | 175 | LoadDebug(S,f); |
176 | IF (!luaG_checkcode(f), "bad code"); | ||
177 | S->L->top--; | 176 | S->L->top--; |
178 | G(S->L)->nCcalls--; | 177 | G(S->L)->nCcalls--; |
179 | return f; | 178 | return f; |