no more code checking

This commit is contained in:
Roberto Ierusalimschy
2009-04-30 14:42:21 -03:00
parent 673c456cba
commit d7bc346d7a
5 changed files with 9 additions and 131 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lundump.c,v 2.8 2006/09/11 14:07:24 roberto Exp roberto $
** $Id: lundump.c,v 2.9 2008/04/07 18:44:23 roberto Exp roberto $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -173,7 +173,6 @@ static Proto* LoadFunction(LoadState* S, TString* p)
LoadCode(S,f);
LoadConstants(S,f);
LoadDebug(S,f);
IF (!luaG_checkcode(f), "bad code");
S->L->top--;
G(S->L)->nCcalls--;
return f;