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 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 explicit ElementHandlerCompiler(Isolate* isolate) | 261 explicit ElementHandlerCompiler(Isolate* isolate) |
262 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, | 262 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, |
263 Handle<HeapType>::null(), | 263 Handle<HeapType>::null(), |
264 Handle<JSObject>::null(), kCacheOnReceiver) {} | 264 Handle<JSObject>::null(), kCacheOnReceiver) {} |
265 | 265 |
266 virtual ~ElementHandlerCompiler() {} | 266 virtual ~ElementHandlerCompiler() {} |
267 | 267 |
268 void CompileElementHandlers(MapHandleList* receiver_maps, | 268 void CompileElementHandlers(MapHandleList* receiver_maps, |
269 CodeHandleList* handlers); | 269 CodeHandleList* handlers); |
270 | 270 |
271 static void GenerateLoadDictionaryElement(MacroAssembler* masm); | |
272 static void GenerateStoreSlow(MacroAssembler* masm); | 271 static void GenerateStoreSlow(MacroAssembler* masm); |
273 }; | 272 }; |
274 } | 273 } |
275 } // namespace v8::internal | 274 } // namespace v8::internal |
276 | 275 |
277 #endif // V8_IC_HANDLER_COMPILER_H_ | 276 #endif // V8_IC_HANDLER_COMPILER_H_ |
OLD | NEW |