| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index ad33a8c6319b7a0a5919b7be75458068a1d1f929..787a50182978e913a2aaa86bf93084cda9df73f2 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -3568,6 +3568,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) {
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|
| + __ Integer32ToSmi(rax, rax);
|
| __ push(rax);
|
| __ push(rdi);
|
| __ push(rbx);
|
| @@ -3578,6 +3579,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) {
|
| __ pop(rbx);
|
| __ pop(rdi);
|
| __ pop(rax);
|
| + __ SmiToInteger32(rax, rax);
|
| }
|
| __ jmp(&done);
|
|
|
|
|