Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index d1fb8bc5ad5383770886f8a4f3985cb324a20cdd..8f554de2e867a8fa14cd75c40c7772d00c9e6cba 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1360,9 +1360,9 @@ void Interpreter::DoAddSmi(InterpreterAssembler* assembler) { |
AddWithFeedbackStub stub(__ isolate()); |
Callable callable = |
Callable(stub.GetCode(), AddWithFeedbackStub::Descriptor(__ isolate())); |
- Node* args[] = {left, right, __ TruncateWordToWord32(slot_index), |
- type_feedback_vector, context}; |
- var_result.Bind(__ CallStubN(callable, args, 1)); |
+ var_result.Bind(__ CallStub(callable, context, left, right, |
+ __ TruncateWordToWord32(slot_index), |
+ type_feedback_vector)); |
__ Goto(&end); |
} |
__ Bind(&end); |
@@ -1414,9 +1414,9 @@ void Interpreter::DoSubSmi(InterpreterAssembler* assembler) { |
SubtractWithFeedbackStub stub(__ isolate()); |
Callable callable = Callable( |
stub.GetCode(), SubtractWithFeedbackStub::Descriptor(__ isolate())); |
- Node* args[] = {left, right, __ TruncateWordToWord32(slot_index), |
- type_feedback_vector, context}; |
- var_result.Bind(__ CallStubN(callable, args, 1)); |
+ var_result.Bind(__ CallStub(callable, context, left, right, |
+ __ TruncateWordToWord32(slot_index), |
+ type_feedback_vector)); |
__ Goto(&end); |
} |
__ Bind(&end); |