OP_LOADFALSE broken in two instructions

This commit is contained in:
Roberto Ierusalimschy
2020-02-11 11:12:33 -03:00
parent 28ef7061bb
commit 9b7987a9d1
6 changed files with 14 additions and 6 deletions

View File

@@ -202,7 +202,8 @@ OP_LOADI,/* A sBx R[A] := sBx */
OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */
OP_LOADK,/* A Bx R[A] := K[Bx] */
OP_LOADKX,/* A R[A] := K[extra arg] */
OP_LOADFALSE,/* A B R[A] := false; if (B) pc++ */
OP_LOADFALSE,/* A R[A] := false */
OP_LFALSESKIP,/*A R[A] := false; pc++ */
OP_LOADTRUE,/* A R[A] := true */
OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */
OP_GETUPVAL,/* A B R[A] := UpValue[B] */