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(int offset, | 484 Handle<Code> SimpleFieldLoad(FieldIndex index); |
485 bool inobject = true, | |
486 Representation representation = | |
487 Representation::Tagged()); | |
488 | 485 |
489 static void Clear(Isolate* isolate, | 486 static void Clear(Isolate* isolate, |
490 Address address, | 487 Address address, |
491 Code* target, | 488 Code* target, |
492 ConstantPoolArray* constant_pool); | 489 ConstantPoolArray* constant_pool); |
493 | 490 |
494 friend class IC; | 491 friend class IC; |
495 }; | 492 }; |
496 | 493 |
497 | 494 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); | 1018 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); |
1022 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); | 1019 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); |
1023 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); | 1020 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); |
1024 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); | 1021 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); |
1025 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); | 1022 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); |
1026 | 1023 |
1027 | 1024 |
1028 } } // namespace v8::internal | 1025 } } // namespace v8::internal |
1029 | 1026 |
1030 #endif // V8_IC_H_ | 1027 #endif // V8_IC_H_ |
OLD | NEW |