| Index: src/x87/code-stubs-x87.cc | 
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc | 
| index 5162d0a6b1c970d2de01489962579f53bc4b90c4..1ee8484452be9e440306e3711368f12659291d97 100644 | 
| --- a/src/x87/code-stubs-x87.cc | 
| +++ b/src/x87/code-stubs-x87.cc | 
| @@ -5210,10 +5210,11 @@ | 
| __ jmp(&leave_exit_frame); | 
| } | 
|  | 
| + | 
| static void CallApiFunctionStubHelper(MacroAssembler* masm, | 
| const ParameterCount& argc, | 
| bool return_first_arg, | 
| -                                      bool call_data_undefined, bool is_lazy) { | 
| +                                      bool call_data_undefined) { | 
| // ----------- S t a t e ------------- | 
| //  -- edi                 : callee | 
| //  -- ebx                 : call_data | 
| @@ -5287,10 +5288,8 @@ | 
| // push return address | 
| __ push(return_address); | 
|  | 
| -  if (!is_lazy) { | 
| -    // load context from callee | 
| -    __ mov(context, FieldOperand(callee, JSFunction::kContextOffset)); | 
| -  } | 
| +  // load context from callee | 
| +  __ mov(context, FieldOperand(callee, JSFunction::kContextOffset)); | 
|  | 
| // API function gets reference to the v8::Arguments. If CPU profiler | 
| // is enabled wrapper function will be called and we need to pass | 
| @@ -5362,7 +5361,7 @@ | 
| void CallApiFunctionStub::Generate(MacroAssembler* masm) { | 
| bool call_data_undefined = this->call_data_undefined(); | 
| CallApiFunctionStubHelper(masm, ParameterCount(eax), false, | 
| -                            call_data_undefined, false); | 
| +                            call_data_undefined); | 
| } | 
|  | 
|  | 
| @@ -5370,9 +5369,8 @@ | 
| bool is_store = this->is_store(); | 
| int argc = this->argc(); | 
| bool call_data_undefined = this->call_data_undefined(); | 
| -  bool is_lazy = this->is_lazy(); | 
| CallApiFunctionStubHelper(masm, ParameterCount(argc), is_store, | 
| -                            call_data_undefined, is_lazy); | 
| +                            call_data_undefined); | 
| } | 
|  | 
|  | 
|  |