| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index aa57534844088b3994b40402f4983206aaec445b..ff05f4d763af4032802c1d7977e29d4841152534 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -2981,7 +2981,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);
|
| }
|
|
|
|
|
|
|