| 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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 KeyedAccessStoreMode mode) { | 683 KeyedAccessStoreMode mode) { |
| 684 return StrictModeState::encode(flag) | | 684 return StrictModeState::encode(flag) | |
| 685 ExtraICStateKeyedAccessStoreMode::encode(mode); | 685 ExtraICStateKeyedAccessStoreMode::encode(mode); |
| 686 } | 686 } |
| 687 | 687 |
| 688 static KeyedAccessStoreMode GetKeyedAccessStoreMode( | 688 static KeyedAccessStoreMode GetKeyedAccessStoreMode( |
| 689 ExtraICState extra_state) { | 689 ExtraICState extra_state) { |
| 690 return ExtraICStateKeyedAccessStoreMode::decode(extra_state); | 690 return ExtraICStateKeyedAccessStoreMode::decode(extra_state); |
| 691 } | 691 } |
| 692 | 692 |
| 693 static const Register ReceiverRegister(); | |
| 694 static const Register NameRegister(); | |
| 695 static const Register ValueRegister(); | |
| 696 | |
| 697 // The map register isn't part of the normal call specification, but | 693 // The map register isn't part of the normal call specification, but |
| 698 // ElementsTransitionAndStoreStub, used in polymorphic keyed store | 694 // ElementsTransitionAndStoreStub, used in polymorphic keyed store |
| 699 // stub implementations requires it to be initialized. | 695 // stub implementations requires it to be initialized. |
| 700 static const Register MapRegister(); | 696 static const Register MapRegister(); |
| 701 | 697 |
| 702 KeyedStoreIC(FrameDepth depth, Isolate* isolate) | 698 KeyedStoreIC(FrameDepth depth, Isolate* isolate) |
| 703 : StoreIC(depth, isolate) { | 699 : StoreIC(depth, isolate) { |
| 704 ASSERT(target()->is_keyed_store_stub()); | 700 ASSERT(target()->is_keyed_store_stub()); |
| 705 } | 701 } |
| 706 | 702 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); | 1021 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); |
| 1026 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); | 1022 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); |
| 1027 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); | 1023 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); |
| 1028 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); | 1024 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); |
| 1029 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); | 1025 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); |
| 1030 | 1026 |
| 1031 | 1027 |
| 1032 } } // namespace v8::internal | 1028 } } // namespace v8::internal |
| 1033 | 1029 |
| 1034 #endif // V8_IC_H_ | 1030 #endif // V8_IC_H_ |
| OLD | NEW |