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 16 matching lines...) Expand all Loading... |
27 Handle<HeapType> type, | 27 Handle<HeapType> type, |
28 Handle<Code> handler, | 28 Handle<Code> handler, |
29 ExtraICState extra_ic_state); | 29 ExtraICState extra_ic_state); |
30 static Handle<Code> ComputePolymorphic(Code::Kind kind, TypeHandleList* types, | 30 static Handle<Code> ComputePolymorphic(Code::Kind kind, TypeHandleList* types, |
31 CodeHandleList* handlers, | 31 CodeHandleList* handlers, |
32 int number_of_valid_maps, | 32 int number_of_valid_maps, |
33 Handle<Name> name, | 33 Handle<Name> name, |
34 ExtraICState extra_ic_state); | 34 ExtraICState extra_ic_state); |
35 | 35 |
36 // Keyed | 36 // Keyed |
| 37 static Handle<Code> ComputeKeyedLoadMonomorphicHandler( |
| 38 Handle<Map> receiver_map); |
37 static Handle<Code> ComputeKeyedLoadMonomorphic(Handle<Map> receiver_map); | 39 static Handle<Code> ComputeKeyedLoadMonomorphic(Handle<Map> receiver_map); |
38 | 40 |
39 static Handle<Code> ComputeKeyedStoreMonomorphic( | 41 static Handle<Code> ComputeKeyedStoreMonomorphic( |
40 Handle<Map> receiver_map, StrictMode strict_mode, | 42 Handle<Map> receiver_map, StrictMode strict_mode, |
41 KeyedAccessStoreMode store_mode); | 43 KeyedAccessStoreMode store_mode); |
42 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps); | 44 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps); |
43 static Handle<Code> ComputeKeyedStorePolymorphic( | 45 static Handle<Code> ComputeKeyedStorePolymorphic( |
44 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode, | 46 MapHandleList* receiver_maps, KeyedAccessStoreMode store_mode, |
45 StrictMode strict_mode); | 47 StrictMode strict_mode); |
46 | 48 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 115 } |
114 | 116 |
115 const ExtraICState extra_ic_state_; | 117 const ExtraICState extra_ic_state_; |
116 }; | 118 }; |
117 | 119 |
118 | 120 |
119 } | 121 } |
120 } // namespace v8::internal | 122 } // namespace v8::internal |
121 | 123 |
122 #endif // V8_IC_IC_COMPILER_H_ | 124 #endif // V8_IC_IC_COMPILER_H_ |
OLD | NEW |