| Index: src/x64/stub-cache-x64.cc | 
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc | 
| index 9064fbd9c2565526a40c453ece8a43b4f17bf354..346d5e805d17f3fe7375641411647f5d1ecd0b07 100644 | 
| --- a/src/x64/stub-cache-x64.cc | 
| +++ b/src/x64/stub-cache-x64.cc | 
| @@ -393,14 +393,14 @@ static void CompileCallLoadPropertyWithInterceptor( | 
|  | 
|  | 
| // Generate call to api function. | 
| -static void GenerateFastApiCall(MacroAssembler* masm, | 
| -                                const CallOptimization& optimization, | 
| -                                Handle<Map> receiver_map, | 
| -                                Register receiver, | 
| -                                Register scratch_in, | 
| -                                bool is_store, | 
| -                                int argc, | 
| -                                Register* values) { | 
| +void StubCompiler::GenerateFastApiCall(MacroAssembler* masm, | 
| +                                       const CallOptimization& optimization, | 
| +                                       Handle<Map> receiver_map, | 
| +                                       Register receiver, | 
| +                                       Register scratch_in, | 
| +                                       bool is_store, | 
| +                                       int argc, | 
| +                                       Register* values) { | 
| ASSERT(optimization.is_simple_api_call()); | 
|  | 
| __ PopReturnAddressTo(scratch_in); | 
| @@ -971,15 +971,6 @@ void LoadStubCompiler::GenerateLoadField(Register reg, | 
|  | 
|  | 
| void LoadStubCompiler::GenerateLoadCallback( | 
| -    const CallOptimization& call_optimization, | 
| -    Handle<Map> receiver_map) { | 
| -  GenerateFastApiCall( | 
| -      masm(), call_optimization, receiver_map, | 
| -      receiver(), scratch1(), false, 0, NULL); | 
| -} | 
| - | 
| - | 
| -void LoadStubCompiler::GenerateLoadCallback( | 
| Register reg, | 
| Handle<ExecutableAccessorInfo> callback) { | 
| // Insert additional parameters into the stack frame above return address. | 
| @@ -1159,24 +1150,6 @@ Handle<Code> StoreStubCompiler::CompileStoreCallback( | 
| } | 
|  | 
|  | 
| -Handle<Code> StoreStubCompiler::CompileStoreCallback( | 
| -    Handle<JSObject> object, | 
| -    Handle<JSObject> holder, | 
| -    Handle<Name> name, | 
| -    const CallOptimization& call_optimization) { | 
| -  HandlerFrontend(IC::CurrentTypeOf(object, isolate()), | 
| -                  receiver(), holder, name); | 
| - | 
| -  Register values[] = { value() }; | 
| -  GenerateFastApiCall( | 
| -      masm(), call_optimization, handle(object->map()), | 
| -      receiver(), scratch1(), true, 1, values); | 
| - | 
| -  // Return the generated code. | 
| -  return GetCode(kind(), Code::FAST, name); | 
| -} | 
| - | 
| - | 
| #undef __ | 
| #define __ ACCESS_MASM(masm) | 
|  | 
|  |