aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-09 16:01:55 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-09 16:01:55 -0200
commitb82ff713e321f4b65b2dc41fc1fe97633f7b197d (patch)
tree4b879a95ef1b9eedd9e13d9536452d7525f197d1 /lvm.c
parent77113ee02f383848cd4877e2780c36ffb4405b84 (diff)
downloadlua-b82ff713e321f4b65b2dc41fc1fe97633f7b197d.tar.gz
lua-b82ff713e321f4b65b2dc41fc1fe97633f7b197d.tar.bz2
lua-b82ff713e321f4b65b2dc41fc1fe97633f7b197d.zip
new name for opcode
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lvm.c b/lvm.c
index 1cc025df..f9175885 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.47 1999/02/08 18:54:19 roberto Exp roberto $ 2** $Id: lvm.c,v 1.48 1999/02/09 15:58:45 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*/
@@ -359,8 +359,8 @@ StkId luaV_execute (Closure *cl, TProtoFunc *tf, StkId base) {
359 S->top++; 359 S->top++;
360 break; 360 break;
361 361
362 case PUSHNEGW: aux += highbyte(*pc++); 362 case PUSHNUMBERNEGW: aux += highbyte(*pc++);
363 case PUSHNEG: aux += *pc++; 363 case PUSHNUMBERNEG: aux += *pc++;
364 ttype(S->top) = LUA_T_NUMBER; 364 ttype(S->top) = LUA_T_NUMBER;
365 nvalue(S->top) = -aux; 365 nvalue(S->top) = -aux;
366 S->top++; 366 S->top++;