aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-09-15 11:19:06 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-09-15 11:19:06 -0300
commit022e4427cfc5edde499c782ba716f8cf95b63f91 (patch)
treee8a90ca267ea415cc597264e1b36557291830ec3 /lopcodes.h
parent80d9b09f351c7a9be557116e9c79ae11e9b3f032 (diff)
downloadlua-022e4427cfc5edde499c782ba716f8cf95b63f91.tar.gz
lua-022e4427cfc5edde499c782ba716f8cf95b63f91.tar.bz2
lua-022e4427cfc5edde499c782ba716f8cf95b63f91.zip
detail (keep OP_LOADK and OP_LOADKX together)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 4dfe66ce..7f17de1c 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.156 2017/08/14 18:33:14 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.157 2017/09/13 19:50:08 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*/
@@ -175,8 +175,8 @@ typedef enum {
175name args description 175name args description
176------------------------------------------------------------------------*/ 176------------------------------------------------------------------------*/
177OP_MOVE,/* A B R(A) := R(B) */ 177OP_MOVE,/* A B R(A) := R(B) */
178OP_LOADK,/* A Bx R(A) := Kst(Bx) */
179OP_LOADI,/* A sBx R(A) := sBx */ 178OP_LOADI,/* A sBx R(A) := sBx */
179OP_LOADK,/* A Bx R(A) := Kst(Bx) */
180OP_LOADKX,/* A R(A) := Kst(extra arg) */ 180OP_LOADKX,/* A R(A) := Kst(extra arg) */
181OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ 181OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */
182OP_LOADNIL,/* A B R(A), R(A+1), ..., R(A+B) := nil */ 182OP_LOADNIL,/* A B R(A), R(A+1), ..., R(A+B) := nil */