Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index e0bc03c9f997a26691c728df7a374ae12ba4969d..9c6b5905ccf19ecb436b9689b5f0ba6a93762c13 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -289,9 +289,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; |
@@ -560,9 +560,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: |