aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-24 16:40:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-24 16:40:29 -0200
commit18cd7adac6e5745cad93fecacbe6a2ed16dd3e18 (patch)
tree5f21e7ec2add2058933cebff6e575a107a2e2771 /lopcodes.h
parent41223a01eccafa03990ca6d89124b0955001a9ce (diff)
downloadlua-18cd7adac6e5745cad93fecacbe6a2ed16dd3e18.tar.gz
lua-18cd7adac6e5745cad93fecacbe6a2ed16dd3e18.tar.bz2
lua-18cd7adac6e5745cad93fecacbe6a2ed16dd3e18.zip
optimization to handle <a.x> (new opcode).
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index ba73cec4..ec3cfce2 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.10 1997/10/16 21:14:47 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.11 1997/10/24 17:17:24 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*/
@@ -67,6 +67,17 @@ GETGLOBALW,/* w - VAR[CNST[w]] */
67 67
68GETTABLE,/* - i t t[i] */ 68GETTABLE,/* - i t t[i] */
69 69
70GETDOTTED,/* b t t[CONST[b]] */
71GETDOTTED0,/* - t t[CONST[0]] */
72GETDOTTED1,/* - t t[CONST[1]] */
73GETDOTTED2,/* - t t[CONST[2]] */
74GETDOTTED3,/* - t t[CONST[3]] */
75GETDOTTED4,/* - t t[CONST[4]] */
76GETDOTTED5,/* - t t[CONST[5]] */
77GETDOTTED6,/* - t t[CONST[6]] */
78GETDOTTED7,/* - t t[CONST[7]] */
79GETDOTTEDW,/* w t t[CONST[w]] */
80
70PUSHSELF,/* b t t t[CNST[b]] */ 81PUSHSELF,/* b t t t[CNST[b]] */
71PUSHSELFW,/* w t t t[CNST[w]] */ 82PUSHSELFW,/* w t t t[CNST[w]] */
72 83