Fix a bug in how comparison instructions are handled: the 'a' intruction field
was ignored. Includes new test case.
This commit is contained in:
@@ -223,7 +223,7 @@ public class CallFrame {
|
||||
rkb = GETARG_RKB(i);
|
||||
rkc = GETARG_RKC(i);
|
||||
boolean test = rkc.luaBinCmpUnknown(o, rkb);
|
||||
if (test)
|
||||
if (test == (a == 0))
|
||||
pc++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user