diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-14 14:46:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-14 14:46:15 -0300 |
commit | 634c3d57e924f36812ccc5798d91236ae819c6d1 (patch) | |
tree | 31e810ab78448a4487989c498560c4192f9dc209 /lopcodes.h | |
parent | 4aa9ad6514a98fd4e25015f29e04877e67d9772d (diff) | |
download | lua-634c3d57e924f36812ccc5798d91236ae819c6d1.tar.gz lua-634c3d57e924f36812ccc5798d91236ae819c6d1.tar.bz2 lua-634c3d57e924f36812ccc5798d91236ae819c6d1.zip |
optimization for SETLOCAL was too specific.
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.57 2000/04/12 18:57:19 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.58 2000/04/13 16:51:01 roberto Exp roberto $ |
3 | ** Opcodes for Lua virtual machine | 3 | ** Opcodes for Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -108,7 +108,7 @@ OP_PUSHSELF,/* K t t t[KSTR[k]] */ | |||
108 | 108 | ||
109 | OP_CREATETABLE,/* U - newarray(size = u) */ | 109 | OP_CREATETABLE,/* U - newarray(size = u) */ |
110 | 110 | ||
111 | OP_SETLOCAL,/* L B v_b-v_1 - LOC[l]=v_b */ | 111 | OP_SETLOCAL,/* L x - LOC[l]=x */ |
112 | OP_SETGLOBAL,/* K x - VAR[KSTR[k]]=x */ | 112 | OP_SETGLOBAL,/* K x - VAR[KSTR[k]]=x */ |
113 | OP_SETTABLE,/* A B v a_a-a_1 i t (pops b values) t[i]=v */ | 113 | OP_SETTABLE,/* A B v a_a-a_1 i t (pops b values) t[i]=v */ |
114 | 114 | ||