mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 05:53:26 +00:00
Direct bytecode dump is disabled
This commit is contained in:
parent
3ff2494d47
commit
3a75273a21
@ -420,6 +420,9 @@ static int bcread_header(LexState *ls)
|
|||||||
/* Read a bytecode dump. */
|
/* Read a bytecode dump. */
|
||||||
GCproto *lj_bcread(LexState *ls)
|
GCproto *lj_bcread(LexState *ls)
|
||||||
{
|
{
|
||||||
|
printf("Direct bytecode dump is disabled.\n");
|
||||||
|
exit(-1);
|
||||||
|
|
||||||
lua_State *L = ls->L;
|
lua_State *L = ls->L;
|
||||||
lj_assertLS(ls->c == BCDUMP_HEAD1, "bad bytecode header");
|
lj_assertLS(ls->c == BCDUMP_HEAD1, "bad bytecode header");
|
||||||
bcread_savetop(L, ls, L->top);
|
bcread_savetop(L, ls, L->top);
|
||||||
|
Loading…
Reference in New Issue
Block a user