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_HANDLER_COMPILER_H_ | 5 #ifndef V8_IC_HANDLER_COMPILER_H_ |
6 #define V8_IC_HANDLER_COMPILER_H_ | 6 #define V8_IC_HANDLER_COMPILER_H_ |
7 | 7 |
8 #include "src/ic/access-compiler.h" | 8 #include "src/ic/access-compiler.h" |
9 #include "src/ic/ic-state.h" | 9 #include "src/ic/ic-state.h" |
10 | 10 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 class ElementHandlerCompiler : public PropertyHandlerCompiler { | 273 class ElementHandlerCompiler : public PropertyHandlerCompiler { |
274 public: | 274 public: |
275 explicit ElementHandlerCompiler(Isolate* isolate) | 275 explicit ElementHandlerCompiler(Isolate* isolate) |
276 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, | 276 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, |
277 Handle<Map>::null(), Handle<JSObject>::null(), | 277 Handle<Map>::null(), Handle<JSObject>::null(), |
278 kCacheOnReceiver) {} | 278 kCacheOnReceiver) {} |
279 | 279 |
280 virtual ~ElementHandlerCompiler() {} | 280 virtual ~ElementHandlerCompiler() {} |
281 | 281 |
282 void CompileElementHandlers(MapHandleList* receiver_maps, | 282 void CompileElementHandlers(MapHandleList* receiver_maps, |
283 CodeHandleList* handlers); | 283 List<Handle<Object>>* handlers); |
284 | 284 |
285 static void GenerateStoreSlow(MacroAssembler* masm); | 285 static void GenerateStoreSlow(MacroAssembler* masm); |
286 }; | 286 }; |
287 } // namespace internal | 287 } // namespace internal |
288 } // namespace v8 | 288 } // namespace v8 |
289 | 289 |
290 #endif // V8_IC_HANDLER_COMPILER_H_ | 290 #endif // V8_IC_HANDLER_COMPILER_H_ |
OLD | NEW |