Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 4bd582ff23d31e09e2723c9f4e35a45b7683997b..4555a81c5eaa7947b6849d0ed67da08dd147619c 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -3995,7 +3995,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) { |
__ Bind(¬_oddball); |
__ Push(x0); // Push argument. |
- __ InvokeBuiltin(Context::TO_NUMBER_BUILTIN_INDEX, JUMP_FUNCTION); |
+ __ TailCallRuntime(Runtime::kToNumber, 1, 1); |
} |