diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-15 11:19:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-15 11:19:06 -0300 |
commit | 022e4427cfc5edde499c782ba716f8cf95b63f91 (patch) | |
tree | e8a90ca267ea415cc597264e1b36557291830ec3 /lopcodes.h | |
parent | 80d9b09f351c7a9be557116e9c79ae11e9b3f032 (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { | |||
175 | name args description | 175 | name args description |
176 | ------------------------------------------------------------------------*/ | 176 | ------------------------------------------------------------------------*/ |
177 | OP_MOVE,/* A B R(A) := R(B) */ | 177 | OP_MOVE,/* A B R(A) := R(B) */ |
178 | OP_LOADK,/* A Bx R(A) := Kst(Bx) */ | ||
179 | OP_LOADI,/* A sBx R(A) := sBx */ | 178 | OP_LOADI,/* A sBx R(A) := sBx */ |
179 | OP_LOADK,/* A Bx R(A) := Kst(Bx) */ | ||
180 | OP_LOADKX,/* A R(A) := Kst(extra arg) */ | 180 | OP_LOADKX,/* A R(A) := Kst(extra arg) */ |
181 | OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ | 181 | OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ |
182 | OP_LOADNIL,/* A B R(A), R(A+1), ..., R(A+B) := nil */ | 182 | OP_LOADNIL,/* A B R(A), R(A+1), ..., R(A+B) := nil */ |