Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 3c53d3651bec9f9020afb1a0972826d1658162e1..bff8717d48dfdbf5ff35d814a98e5fafb8e765c4 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -3445,7 +3445,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); |
} |