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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 class ElementHandlerCompiler : public PropertyHandlerCompiler { | 288 class ElementHandlerCompiler : public PropertyHandlerCompiler { |
289 public: | 289 public: |
290 explicit ElementHandlerCompiler(Isolate* isolate) | 290 explicit ElementHandlerCompiler(Isolate* isolate) |
291 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, | 291 : PropertyHandlerCompiler(isolate, Code::KEYED_LOAD_IC, |
292 Handle<Map>::null(), Handle<JSObject>::null(), | 292 Handle<Map>::null(), Handle<JSObject>::null(), |
293 kCacheOnReceiver) {} | 293 kCacheOnReceiver) {} |
294 | 294 |
295 virtual ~ElementHandlerCompiler() {} | 295 virtual ~ElementHandlerCompiler() {} |
296 | 296 |
297 void CompileElementHandlers(MapHandleList* receiver_maps, | 297 void CompileElementHandlers(MapHandleList* receiver_maps, |
298 CodeHandleList* handlers, | 298 CodeHandleList* handlers); |
299 LanguageMode language_mode); | |
300 | 299 |
301 static void GenerateStoreSlow(MacroAssembler* masm); | 300 static void GenerateStoreSlow(MacroAssembler* masm); |
302 }; | 301 }; |
303 } // namespace internal | 302 } // namespace internal |
304 } // namespace v8 | 303 } // namespace v8 |
305 | 304 |
306 #endif // V8_IC_HANDLER_COMPILER_H_ | 305 #endif // V8_IC_HANDLER_COMPILER_H_ |
OLD | NEW |