| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 860ab46f7847799431153c133fde3b1f510c42ff..ec9a48b30f5403299aaf32fca20d720cd526e598 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -1245,6 +1245,9 @@ void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
|
| void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
|
| int field_index) {
|
| // ----------- S t a t e -------------
|
| + // -- rax : number of arguments
|
| + // -- rdi : function
|
| + // -- rsi : context
|
| // -- rsp[0] : return address
|
| // -- rsp[8] : receiver
|
| // -----------------------------------
|
| @@ -1286,7 +1289,11 @@ void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
|
| __ bind(&receiver_not_date);
|
| {
|
| FrameScope scope(masm, StackFrame::MANUAL);
|
| - __ EnterFrame(StackFrame::INTERNAL);
|
| + __ Push(rbp);
|
| + __ Move(rbp, rsp);
|
| + __ Push(rsi);
|
| + __ Push(rdi);
|
| + __ Push(Immediate(0));
|
| __ CallRuntime(Runtime::kThrowNotDateError);
|
| }
|
| }
|
|
|