OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_H_ | 5 #ifndef V8_IC_H_ |
6 #define V8_IC_H_ | 6 #define V8_IC_H_ |
7 | 7 |
8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 | 474 |
475 private: | 475 private: |
476 // Stub accessors. | 476 // Stub accessors. |
477 static Handle<Code> pre_monomorphic_stub(Isolate* isolate, | 477 static Handle<Code> pre_monomorphic_stub(Isolate* isolate, |
478 ExtraICState exstra_state); | 478 ExtraICState exstra_state); |
479 | 479 |
480 virtual Handle<Code> pre_monomorphic_stub() { | 480 virtual Handle<Code> pre_monomorphic_stub() { |
481 return pre_monomorphic_stub(isolate(), extra_ic_state()); | 481 return pre_monomorphic_stub(isolate(), extra_ic_state()); |
482 } | 482 } |
483 | 483 |
484 Handle<Code> SimpleFieldLoad(FieldIndex index); | 484 Handle<Code> SimpleFieldLoad(int offset, |
| 485 bool inobject = true, |
| 486 Representation representation = |
| 487 Representation::Tagged()); |
485 | 488 |
486 static void Clear(Isolate* isolate, | 489 static void Clear(Isolate* isolate, |
487 Address address, | 490 Address address, |
488 Code* target, | 491 Code* target, |
489 ConstantPoolArray* constant_pool); | 492 ConstantPoolArray* constant_pool); |
490 | 493 |
491 friend class IC; | 494 friend class IC; |
492 }; | 495 }; |
493 | 496 |
494 | 497 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); | 1021 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); |
1019 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); | 1022 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); |
1020 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); | 1023 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); |
1021 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); | 1024 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); |
1022 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); | 1025 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); |
1023 | 1026 |
1024 | 1027 |
1025 } } // namespace v8::internal | 1028 } } // namespace v8::internal |
1026 | 1029 |
1027 #endif // V8_IC_H_ | 1030 #endif // V8_IC_H_ |
OLD | NEW |