diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-04-30 14:42:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-04-30 14:42:21 -0300 |
commit | d7bc346d7a9da097e517fa987ed6cc4f91874111 (patch) | |
tree | edcc5e43f78084681f8e9f4498e12ac0974b9db3 /lundump.c | |
parent | 673c456cbaf8d37e9e71afd2bedc00654235f90d (diff) | |
download | lua-d7bc346d7a9da097e517fa987ed6cc4f91874111.tar.gz lua-d7bc346d7a9da097e517fa987ed6cc4f91874111.tar.bz2 lua-d7bc346d7a9da097e517fa987ed6cc4f91874111.zip |
no more code checking
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; |