Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index b34cbf1d85dadc24e3b4894b514b3fa8432fbaa3..039268dcbc8325d7c640571f04167e20ddf76047 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -3413,7 +3413,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) { |
__ bind(¬_oddball); |
__ push(a0); // Push argument. |
- __ InvokeBuiltin(Context::TO_NUMBER_BUILTIN_INDEX, JUMP_FUNCTION); |
+ __ TailCallRuntime(Runtime::kToNumber, 1, 1); |
} |