| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef V8_IC_H_ | 5 #ifndef V8_IC_H_ | 
| 6 #define V8_IC_H_ | 6 #define V8_IC_H_ | 
| 7 | 7 | 
| 8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" | 
| 9 | 9 | 
| 10 namespace v8 { | 10 namespace v8 { | 
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 398       return false; | 398       return false; | 
| 399     } | 399     } | 
| 400   } | 400   } | 
| 401 | 401 | 
| 402   // Code generator routines. | 402   // Code generator routines. | 
| 403   static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } | 403   static void GenerateInitialize(MacroAssembler* masm) { GenerateMiss(masm); } | 
| 404   static void GeneratePreMonomorphic(MacroAssembler* masm) { | 404   static void GeneratePreMonomorphic(MacroAssembler* masm) { | 
| 405     GenerateMiss(masm); | 405     GenerateMiss(masm); | 
| 406   } | 406   } | 
| 407   static void GenerateMiss(MacroAssembler* masm); | 407   static void GenerateMiss(MacroAssembler* masm); | 
| 408   static void GenerateMegamorphic(MacroAssembler* masm); |  | 
| 409   static void GenerateNormal(MacroAssembler* masm); | 408   static void GenerateNormal(MacroAssembler* masm); | 
| 410   static void GenerateRuntimeGetProperty(MacroAssembler* masm); | 409   static void GenerateRuntimeGetProperty(MacroAssembler* masm); | 
| 411 | 410 | 
| 412   static Handle<Code> initialize_stub(Isolate* isolate, | 411   static Handle<Code> initialize_stub(Isolate* isolate, | 
| 413                                       ExtraICState extra_state); | 412                                       ExtraICState extra_state); | 
| 414 | 413 | 
| 415   MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, | 414   MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, | 
| 416                                            Handle<Name> name); | 415                                            Handle<Name> name); | 
| 417 | 416 | 
| 418  protected: | 417  protected: | 
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 927 | 926 | 
| 928 // Support functions for interceptor handlers. | 927 // Support functions for interceptor handlers. | 
| 929 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); | 928 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); | 
| 930 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); | 929 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); | 
| 931 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); | 930 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); | 
| 932 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); | 931 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); | 
| 933 } | 932 } | 
| 934 }  // namespace v8::internal | 933 }  // namespace v8::internal | 
| 935 | 934 | 
| 936 #endif  // V8_IC_H_ | 935 #endif  // V8_IC_H_ | 
| OLD | NEW | 
|---|