Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 0590ab8f5928c488d418530ab954a6eaefcfb9c0..bfabb1f7847dde97e966a9fcc4b5f445cfbb769b 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -3271,7 +3271,7 @@ void ToNumberStub::Generate(MacroAssembler* masm) { |
__ pop(ecx); // Pop return address. |
__ push(eax); // Push argument. |
__ push(ecx); // Push return address. |
- __ InvokeBuiltin(Context::TO_NUMBER_BUILTIN_INDEX, JUMP_FUNCTION); |
+ __ TailCallRuntime(Runtime::kToNumber, 1, 1); |
} |