| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 : PropertyAccessCompiler(isolate, kind, cache_holder), | 63 : PropertyAccessCompiler(isolate, kind, cache_holder), |
| 64 extra_ic_state_(extra_ic_state) {} | 64 extra_ic_state_(extra_ic_state) {} |
| 65 | 65 |
| 66 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, | 66 static Handle<Code> Find(Handle<Name> name, Handle<Map> stub_holder_map, |
| 67 Code::Kind kind, | 67 Code::Kind kind, |
| 68 ExtraICState extra_ic_state = kNoExtraICState, | 68 ExtraICState extra_ic_state = kNoExtraICState, |
| 69 CacheHolderFlag cache_holder = kCacheOnReceiver); | 69 CacheHolderFlag cache_holder = kCacheOnReceiver); |
| 70 | 70 |
| 71 Handle<Code> CompileLoadInitialize(Code::Flags flags); | 71 Handle<Code> CompileLoadInitialize(Code::Flags flags); |
| 72 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags); | 72 Handle<Code> CompileLoadPreMonomorphic(Code::Flags flags); |
| 73 Handle<Code> CompileLoadMegamorphic(Code::Flags flags); |
| 73 Handle<Code> CompileStoreInitialize(Code::Flags flags); | 74 Handle<Code> CompileStoreInitialize(Code::Flags flags); |
| 74 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags); | 75 Handle<Code> CompileStorePreMonomorphic(Code::Flags flags); |
| 75 Handle<Code> CompileStoreGeneric(Code::Flags flags); | 76 Handle<Code> CompileStoreGeneric(Code::Flags flags); |
| 76 Handle<Code> CompileStoreMegamorphic(Code::Flags flags); | 77 Handle<Code> CompileStoreMegamorphic(Code::Flags flags); |
| 77 | 78 |
| 78 Handle<Code> CompileMonomorphic(Handle<Map> map, Handle<Code> handler, | 79 Handle<Code> CompileMonomorphic(Handle<Map> map, Handle<Code> handler, |
| 79 Handle<Name> name, IcCheckType check); | 80 Handle<Name> name, IcCheckType check); |
| 80 Handle<Code> CompilePolymorphic(MapHandleList* maps, CodeHandleList* handlers, | 81 Handle<Code> CompilePolymorphic(MapHandleList* maps, CodeHandleList* handlers, |
| 81 Handle<Name> name, Code::StubType type, | 82 Handle<Name> name, Code::StubType type, |
| 82 IcCheckType check); | 83 IcCheckType check); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 } | 115 } |
| 115 | 116 |
| 116 const ExtraICState extra_ic_state_; | 117 const ExtraICState extra_ic_state_; |
| 117 }; | 118 }; |
| 118 | 119 |
| 119 | 120 |
| 120 } | 121 } |
| 121 } // namespace v8::internal | 122 } // namespace v8::internal |
| 122 | 123 |
| 123 #endif // V8_IC_IC_COMPILER_H_ | 124 #endif // V8_IC_IC_COMPILER_H_ |
| OLD | NEW |