Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index b5eaef8b846d281c2423e8a55179c3be71507603..4cc58a164fd9b20d11e0ea1c3c23343a7912f506 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -649,7 +649,7 @@ void Interpreter::DoBinaryOp(Runtime::FunctionId function_id, |
// |
// Add register <src> to accumulator. |
void Interpreter::DoAdd(InterpreterAssembler* assembler) { |
- DoBinaryOp(Runtime::kAdd, assembler); |
+ DoBinaryOp(CodeFactory::Add(isolate_), assembler); |
} |
@@ -657,7 +657,7 @@ void Interpreter::DoAdd(InterpreterAssembler* assembler) { |
// |
// Subtract register <src> from accumulator. |
void Interpreter::DoSub(InterpreterAssembler* assembler) { |
- DoBinaryOp(Runtime::kSubtract, assembler); |
+ DoBinaryOp(CodeFactory::Subtract(isolate_), assembler); |
} |