| Index: src/x87/builtins-x87.cc
|
| diff --git a/src/x87/builtins-x87.cc b/src/x87/builtins-x87.cc
|
| index f5abcc1c532da59b5b7c2ceec840cab5d8a9df23..e24ea382ff2919d60d636d029eaca9f4a91f9681 100644
|
| --- a/src/x87/builtins-x87.cc
|
| +++ b/src/x87/builtins-x87.cc
|
| @@ -1194,6 +1194,9 @@ void Builtins::Generate_NotifyLazyDeoptimized(MacroAssembler* masm) {
|
| void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
|
| int field_index) {
|
| // ----------- S t a t e -------------
|
| + // -- eax : number of arguments
|
| + // -- edi : function
|
| + // -- esi : context
|
| // -- esp[0] : return address
|
| // -- esp[4] : receiver
|
| // -----------------------------------
|
| @@ -1236,7 +1239,11 @@ void Builtins::Generate_DatePrototype_GetField(MacroAssembler* masm,
|
| __ bind(&receiver_not_date);
|
| {
|
| FrameScope scope(masm, StackFrame::MANUAL);
|
| - __ EnterFrame(StackFrame::INTERNAL);
|
| + __ Push(ebp);
|
| + __ Move(ebp, esp);
|
| + __ Push(esi);
|
| + __ Push(edi);
|
| + __ Push(Immediate(0));
|
| __ CallRuntime(Runtime::kThrowNotDateError);
|
| }
|
| }
|
|
|