mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
invalid instructions "cannot" happen
This commit is contained in:
parent
afdb19ac82
commit
b7be05ad27
1 changed files with 2 additions and 3 deletions
5
lvm.c
5
lvm.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lvm.c,v 2.110 2010/04/05 16:26:37 roberto Exp roberto $
|
||||
** $Id: lvm.c,v 2.111 2010/04/13 20:48:12 roberto Exp roberto $
|
||||
** Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -808,8 +808,7 @@ void luaV_execute (lua_State *L) {
|
|||
break;
|
||||
}
|
||||
case OP_EXTRAARG: {
|
||||
luaG_runerror(L, "bad opcode");
|
||||
return;
|
||||
lua_assert(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue