aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-11 11:12:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-02-11 11:12:33 -0300
commit9b7987a9d1471ba94764286b28e0998f73deb46a (patch)
treeb24e2836a29621521d65e6dc77fb39bdc4b627ee /lopcodes.h
parent28ef7061bbcce39590c97a2ad662e0b60f7adab5 (diff)
downloadlua-9b7987a9d1471ba94764286b28e0998f73deb46a.tar.gz
lua-9b7987a9d1471ba94764286b28e0998f73deb46a.tar.bz2
lua-9b7987a9d1471ba94764286b28e0998f73deb46a.zip
OP_LOADFALSE broken in two instructions
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 8fd52d18..d755870f 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -202,7 +202,8 @@ OP_LOADI,/* A sBx R[A] := sBx */
202OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */ 202OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */
203OP_LOADK,/* A Bx R[A] := K[Bx] */ 203OP_LOADK,/* A Bx R[A] := K[Bx] */
204OP_LOADKX,/* A R[A] := K[extra arg] */ 204OP_LOADKX,/* A R[A] := K[extra arg] */
205OP_LOADFALSE,/* A B R[A] := false; if (B) pc++ */ 205OP_LOADFALSE,/* A R[A] := false */
206OP_LFALSESKIP,/*A R[A] := false; pc++ */
206OP_LOADTRUE,/* A R[A] := true */ 207OP_LOADTRUE,/* A R[A] := true */
207OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */ 208OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */
208OP_GETUPVAL,/* A B R[A] := UpValue[B] */ 209OP_GETUPVAL,/* A B R[A] := UpValue[B] */