Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index 24d785916031cd3356af67732a382b5434d9e2ce..4c6aa86c94334f6fd0f105c78f3b82ef0a868046 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -208,13 +208,20 @@ namespace interpreter { |
OperandType::kMaybeReg, OperandType::kRegCount) \ |
\ |
/* Test Operators */ \ |
- V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
- V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
+ V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
+ V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kIdx) \ |
V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
V(TestIn, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
\ |