diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-15 14:13:24 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-15 14:13:24 -0200 |
commit | a04de4f0adc0b14aa4ad88136ef82f6e277653c7 (patch) | |
tree | f21b1cc0e28b2d0ce4f8df076328269dfac96589 /lvm.c | |
parent | a653d93a4365eb413d31bd058ef0c9822d6a1d4d (diff) | |
download | lua-a04de4f0adc0b14aa4ad88136ef82f6e277653c7.tar.gz lua-a04de4f0adc0b14aa4ad88136ef82f6e277653c7.tar.bz2 lua-a04de4f0adc0b14aa4ad88136ef82f6e277653c7.zip |
no more END opcode
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.151 2001/01/10 18:56:11 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.152 2001/01/11 18:59:32 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 | */ |
@@ -360,10 +360,6 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) { | |||
360 | if (linehook) | 360 | if (linehook) |
361 | traceexec(L, base, top, linehook); | 361 | traceexec(L, base, top, linehook); |
362 | switch (GET_OPCODE(i)) { | 362 | switch (GET_OPCODE(i)) { |
363 | case OP_END: { | ||
364 | L->top = top; | ||
365 | return top; | ||
366 | } | ||
367 | case OP_RETURN: { | 363 | case OP_RETURN: { |
368 | L->top = top; | 364 | L->top = top; |
369 | return base+GETARG_U(i); | 365 | return base+GETARG_U(i); |