invalid instructions "cannot" happen

This commit is contained in:
Roberto Ierusalimschy 2010-04-15 16:43:43 -03:00
parent afdb19ac82
commit b7be05ad27
1 changed files with 2 additions and 3 deletions

5
lvm.c
View File

@ -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);
}
}
}