Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 422b5c16eee1700b8dbbe7b354e8790ed81707d1..76c248ccc918a7d8a5a24a6917e32c7bf153a5cd 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1176,7 +1176,7 @@ void Interpreter::DoNewWide(InterpreterAssembler* assembler) { |
// |
// Test if the value in the <src> register equals the accumulator. |
void Interpreter::DoTestEqual(InterpreterAssembler* assembler) { |
- DoBinaryOp(Runtime::kEqual, assembler); |
+ DoBinaryOp(CodeFactory::Equal(isolate_), assembler); |
} |
@@ -1184,7 +1184,7 @@ void Interpreter::DoTestEqual(InterpreterAssembler* assembler) { |
// |
// Test if the value in the <src> register is not equal to the accumulator. |
void Interpreter::DoTestNotEqual(InterpreterAssembler* assembler) { |
- DoBinaryOp(Runtime::kNotEqual, assembler); |
+ DoBinaryOp(CodeFactory::NotEqual(isolate_), assembler); |
} |