OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_IC_COMPILER_H_ | 5 #ifndef V8_IC_IC_COMPILER_H_ |
6 #define V8_IC_IC_COMPILER_H_ | 6 #define V8_IC_IC_COMPILER_H_ |
7 | 7 |
8 #include "src/ic/access-compiler.h" | 8 #include "src/ic/access-compiler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 : PropertyAccessCompiler(isolate, kind, cache_holder), | 65 : PropertyAccessCompiler(isolate, kind, cache_holder), |
66 extra_ic_state_(extra_ic_state) {} | 66 extra_ic_state_(extra_ic_state) {} |
67 | 67 |
68 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, | 68 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, |
69 Code::Kind kind, | 69 Code::Kind kind, |
70 ExtraICState extra_ic_state = kNoExtraICState, | 70 ExtraICState extra_ic_state = kNoExtraICState, |
71 CacheHolderFlag cache_holder = kCacheOnReceiver); | 71 CacheHolderFlag cache_holder = kCacheOnReceiver); |
72 | 72 |
73 Handle<Code> CompileLoadInitialize(Code::Flags flags); | 73 Handle<Code> CompileLoadInitialize(Code::Flags flags); |
74 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags); | 74 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags); |
75 Handle<Code> CompileLoadMegamorphic(Code::Flags flags); | |
76 Handle<Code> CompileStoreInitialize(Code::Flags flags); | 75 Handle<Code> CompileStoreInitialize(Code::Flags flags); |
77 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags); | 76 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags); |
78 Handle<Code> CompileStoreGeneric(Code::Flags flags); | 77 Handle<Code> CompileStoreGeneric(Code::Flags flags); |
79 Handle<Code> CompileStoreMegamorphic(Code::Flags flags); | 78 Handle<Code> CompileStoreMegamorphic(Code::Flags flags); |
80 | 79 |
81 Handle<Code> CompileMonomorphic(Handle<HeapType> type, Handle<Code> handler, | 80 Handle<Code> CompileMonomorphic(Handle<HeapType> type, Handle<Code> handler, |
82 Handle<Name> name, IcCheckType check); | 81 Handle<Name> name, IcCheckType check); |
83 Handle<Code> CompilePolymorphic(TypeHandleList* types, | 82 Handle<Code> CompilePolymorphic(TypeHandleList* types, |
84 CodeHandleList* handlers, Handle<Name> name, | 83 CodeHandleList* handlers, Handle<Name> name, |
85 Code::StubType type, IcCheckType check); | 84 Code::StubType type, IcCheckType check); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 116 } |
118 | 117 |
119 const ExtraICState extra_ic_state_; | 118 const ExtraICState extra_ic_state_; |
120 }; | 119 }; |
121 | 120 |
122 | 121 |
123 } | 122 } |
124 } // namespace v8::internal | 123 } // namespace v8::internal |
125 | 124 |
126 #endif // V8_IC_IC_COMPILER_H_ | 125 #endif // V8_IC_IC_COMPILER_H_ |
OLD | NEW |