Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 9bc634ef94cd538b541186177e19c56c5b30e53e..dd62a21e55f669db1fdee5d715d6b3858a86a135 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -288,9 +288,9 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToBoolean() { |
case Bytecode::kTestEqualStrict: |
case Bytecode::kTestNotEqualStrict: |
case Bytecode::kTestLessThan: |
- case Bytecode::kTestLessThanEqual: |
+ case Bytecode::kTestLessThanOrEqual: |
case Bytecode::kTestGreaterThan: |
- case Bytecode::kTestGreaterThanEqual: |
+ case Bytecode::kTestGreaterThanOrEqual: |
case Bytecode::kTestInstanceOf: |
case Bytecode::kTestIn: |
break; |
@@ -559,9 +559,9 @@ Bytecode BytecodeArrayBuilder::BytecodeForCompareOperation(Token::Value op) { |
case Token::Value::GT: |
return Bytecode::kTestGreaterThan; |
case Token::Value::LTE: |
- return Bytecode::kTestLessThanEqual; |
+ return Bytecode::kTestLessThanOrEqual; |
case Token::Value::GTE: |
- return Bytecode::kTestGreaterThanEqual; |
+ return Bytecode::kTestGreaterThanOrEqual; |
case Token::Value::INSTANCEOF: |
return Bytecode::kTestInstanceOf; |
case Token::Value::IN: |