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 "macro-assembler.h" | 8 #include "macro-assembler.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 | 696 |
697 static void Clear(Isolate* isolate, | 697 static void Clear(Isolate* isolate, |
698 Address address, | 698 Address address, |
699 Code* target, | 699 Code* target, |
700 ConstantPoolArray* constant_pool); | 700 ConstantPoolArray* constant_pool); |
701 | 701 |
702 KeyedAccessStoreMode GetStoreMode(Handle<JSObject> receiver, | 702 KeyedAccessStoreMode GetStoreMode(Handle<JSObject> receiver, |
703 Handle<Object> key, | 703 Handle<Object> key, |
704 Handle<Object> value); | 704 Handle<Object> value); |
705 | 705 |
706 Handle<Map> ComputeTransitionedMap(Handle<JSObject> receiver, | 706 Handle<Map> ComputeTransitionedMap(Handle<Map> map, |
707 KeyedAccessStoreMode store_mode); | 707 KeyedAccessStoreMode store_mode); |
708 | 708 |
709 friend class IC; | 709 friend class IC; |
710 }; | 710 }; |
711 | 711 |
712 | 712 |
713 // Mode to overwrite BinaryExpression values. | 713 // Mode to overwrite BinaryExpression values. |
714 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; | 714 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; |
715 | 715 |
716 // Type Recording BinaryOpIC, that records the types of the inputs and outputs. | 716 // Type Recording BinaryOpIC, that records the types of the inputs and outputs. |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); | 954 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); |
955 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); | 955 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); |
956 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); | 956 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); |
957 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); | 957 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); |
958 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); | 958 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); |
959 | 959 |
960 | 960 |
961 } } // namespace v8::internal | 961 } } // namespace v8::internal |
962 | 962 |
963 #endif // V8_IC_H_ | 963 #endif // V8_IC_H_ |
OLD | NEW |