diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-15 16:43:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-15 16:43:43 -0300 |
| commit | b7be05ad276360ab4f5464e344079662fcebb13c (patch) | |
| tree | e4881f636b3b8b439f14d5de2b40a6fb37f148ec | |
| parent | afdb19ac82bcb7ceabd010a484505105977352ba (diff) | |
| download | lua-b7be05ad276360ab4f5464e344079662fcebb13c.tar.gz lua-b7be05ad276360ab4f5464e344079662fcebb13c.tar.bz2 lua-b7be05ad276360ab4f5464e344079662fcebb13c.zip | |
invalid instructions "cannot" happen
| -rw-r--r-- | lvm.c | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 2.110 2010/04/05 16:26:37 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.111 2010/04/13 20:48:12 roberto Exp roberto $ |
| 3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -808,8 +808,7 @@ void luaV_execute (lua_State *L) { | |||
| 808 | break; | 808 | break; |
| 809 | } | 809 | } |
| 810 | case OP_EXTRAARG: { | 810 | case OP_EXTRAARG: { |
| 811 | luaG_runerror(L, "bad opcode"); | 811 | lua_assert(0); |
| 812 | return; | ||
| 813 | } | 812 | } |
| 814 | } | 813 | } |
| 815 | } | 814 | } |
