aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-12 16:14:06 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-12 16:14:06 -0300
commit25c557ec6367870c127e879cce8ed8fa21f34398 (patch)
tree37d322402a8163145a0f3a5728f98115402f352f /lopcodes.c
parentf292760f12022a83cf01e788482a264aeeb3c276 (diff)
downloadlua-25c557ec6367870c127e879cce8ed8fa21f34398.tar.gz
lua-25c557ec6367870c127e879cce8ed8fa21f34398.tar.bz2
lua-25c557ec6367870c127e879cce8ed8fa21f34398.zip
first version of _ENV; no more global variables
Diffstat (limited to 'lopcodes.c')
-rw-r--r--lopcodes.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lopcodes.c b/lopcodes.c
index 7a355752..ddd27010 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.41 2009/11/19 19:06:52 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.42 2010/02/26 20:40:29 roberto Exp roberto $
3** See Copyright Notice in lua.h 3** See Copyright Notice in lua.h
4*/ 4*/
5 5
@@ -19,10 +19,8 @@ LUAI_DDEF const char *const luaP_opnames[NUM_OPCODES+1] = {
19 "LOADBOOL", 19 "LOADBOOL",
20 "LOADNIL", 20 "LOADNIL",
21 "GETUPVAL", 21 "GETUPVAL",
22 "GETGLOBAL",
23 "GETTABUP", 22 "GETTABUP",
24 "GETTABLE", 23 "GETTABLE",
25 "SETGLOBAL",
26 "SETTABUP", 24 "SETTABUP",
27 "SETUPVAL", 25 "SETUPVAL",
28 "SETTABLE", 26 "SETTABLE",
@@ -69,10 +67,8 @@ LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = {
69 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */ 67 ,opmode(0, 1, OpArgU, OpArgU, iABC) /* OP_LOADBOOL */
70 ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */ 68 ,opmode(0, 1, OpArgR, OpArgN, iABC) /* OP_LOADNIL */
71 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */ 69 ,opmode(0, 1, OpArgU, OpArgN, iABC) /* OP_GETUPVAL */
72 ,opmode(0, 1, OpArgK, OpArgN, iABx) /* OP_GETGLOBAL */
73 ,opmode(0, 1, OpArgU, OpArgK, iABC) /* OP_GETTABUP */ 70 ,opmode(0, 1, OpArgU, OpArgK, iABC) /* OP_GETTABUP */
74 ,opmode(0, 1, OpArgR, OpArgK, iABC) /* OP_GETTABLE */ 71 ,opmode(0, 1, OpArgR, OpArgK, iABC) /* OP_GETTABLE */
75 ,opmode(0, 0, OpArgK, OpArgN, iABx) /* OP_SETGLOBAL */
76 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABUP */ 72 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABUP */
77 ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_SETUPVAL */ 73 ,opmode(0, 0, OpArgU, OpArgN, iABC) /* OP_SETUPVAL */
78 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABLE */ 74 ,opmode(0, 0, OpArgK, OpArgK, iABC) /* OP_SETTABLE */