| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index dbf2dc46fcf9588147fb6c6ef4838e79c304c19d..7c670d448b9b4712d63193252d55246cb8db1496 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -606,6 +606,9 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm,
|
|
|
| // Out of stack space.
|
| __ Push(Operand(rbp, calleeOffset));
|
| + if (rax_is_tagged == kRaxIsUntaggedInt) {
|
| + __ Integer32ToSmi(rax, rax);
|
| + }
|
| __ Push(rax);
|
| __ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION);
|
|
|
|
|