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