diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-02-11 11:12:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-02-11 11:12:33 -0300 |
commit | 9b7987a9d1471ba94764286b28e0998f73deb46a (patch) | |
tree | b24e2836a29621521d65e6dc77fb39bdc4b627ee /lopcodes.h | |
parent | 28ef7061bbcce39590c97a2ad662e0b60f7adab5 (diff) | |
download | lua-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -202,7 +202,8 @@ OP_LOADI,/* A sBx R[A] := sBx */ | |||
202 | OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */ | 202 | OP_LOADF,/* A sBx R[A] := (lua_Number)sBx */ |
203 | OP_LOADK,/* A Bx R[A] := K[Bx] */ | 203 | OP_LOADK,/* A Bx R[A] := K[Bx] */ |
204 | OP_LOADKX,/* A R[A] := K[extra arg] */ | 204 | OP_LOADKX,/* A R[A] := K[extra arg] */ |
205 | OP_LOADFALSE,/* A B R[A] := false; if (B) pc++ */ | 205 | OP_LOADFALSE,/* A R[A] := false */ |
206 | OP_LFALSESKIP,/*A R[A] := false; pc++ */ | ||
206 | OP_LOADTRUE,/* A R[A] := true */ | 207 | OP_LOADTRUE,/* A R[A] := true */ |
207 | OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */ | 208 | OP_LOADNIL,/* A B R[A], R[A+1], ..., R[A+B] := nil */ |
208 | OP_GETUPVAL,/* A B R[A] := UpValue[B] */ | 209 | OP_GETUPVAL,/* A B R[A] := UpValue[B] */ |