| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 29f4732d7294f408f50f3e8b7e33389dae84e78c..e550835d42b4e6267817e8959cd542f722172243 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -1584,8 +1584,8 @@ void Builtins::Generate_StringConstructCode(MacroAssembler* masm) {
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| __ Push(rdi); // Preserve the function.
|
| - __ Push(rax);
|
| - __ InvokeBuiltin(Context::TO_STRING_BUILTIN_INDEX, CALL_FUNCTION);
|
| + ToStringStub stub(masm->isolate());
|
| + __ CallStub(&stub);
|
| __ Pop(rdi);
|
| }
|
| __ movp(rbx, rax);
|
|
|