| 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/ic/ic-state.h" | 8 #include "src/ic/ic-state.h" |
| 9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 | 10 |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 GenerateMiss(masm); | 391 GenerateMiss(masm); |
| 392 } | 392 } |
| 393 static void GenerateMiss(MacroAssembler* masm); | 393 static void GenerateMiss(MacroAssembler* masm); |
| 394 static void GenerateNormal(MacroAssembler* masm); | 394 static void GenerateNormal(MacroAssembler* masm); |
| 395 static void GenerateRuntimeGetProperty(MacroAssembler* masm); | 395 static void GenerateRuntimeGetProperty(MacroAssembler* masm); |
| 396 | 396 |
| 397 static Handle<Code> initialize_stub(Isolate* isolate, | 397 static Handle<Code> initialize_stub(Isolate* isolate, |
| 398 ExtraICState extra_state); | 398 ExtraICState extra_state); |
| 399 static Handle<Code> initialize_stub_in_optimized_code( | 399 static Handle<Code> initialize_stub_in_optimized_code( |
| 400 Isolate* isolate, ExtraICState extra_state, State initialization_state); | 400 Isolate* isolate, ExtraICState extra_state, State initialization_state); |
| 401 static Handle<Code> load_global(Isolate* isolate, Handle<GlobalObject> global, |
| 402 Handle<String> name); |
| 401 | 403 |
| 402 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, | 404 MUST_USE_RESULT MaybeHandle<Object> Load(Handle<Object> object, |
| 403 Handle<Name> name); | 405 Handle<Name> name); |
| 404 | 406 |
| 405 static void Clear(Isolate* isolate, Code* host, LoadICNexus* nexus); | 407 static void Clear(Isolate* isolate, Code* host, LoadICNexus* nexus); |
| 406 | 408 |
| 407 protected: | 409 protected: |
| 408 inline void set_target(Code* code); | 410 inline void set_target(Code* code); |
| 409 | 411 |
| 410 Handle<Code> slow_stub() const { | 412 Handle<Code> slow_stub() const { |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 | 765 |
| 764 // Support functions for interceptor handlers. | 766 // Support functions for interceptor handlers. |
| 765 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); | 767 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); |
| 766 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); | 768 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); |
| 767 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); | 769 DECLARE_RUNTIME_FUNCTION(LoadElementWithInterceptor); |
| 768 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); | 770 DECLARE_RUNTIME_FUNCTION(StorePropertyWithInterceptor); |
| 769 } | 771 } |
| 770 } // namespace v8::internal | 772 } // namespace v8::internal |
| 771 | 773 |
| 772 #endif // V8_IC_H_ | 774 #endif // V8_IC_H_ |
| OLD | NEW |