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_TYPE_INFO_H_ | 5 #ifndef V8_TYPE_INFO_H_ |
6 #define V8_TYPE_INFO_H_ | 6 #define V8_TYPE_INFO_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/contexts.h" | 9 #include "src/contexts.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 // TODO(rossberg): once all oracle access is removed from ast.cc, it should | 39 // TODO(rossberg): once all oracle access is removed from ast.cc, it should |
40 // be possible. | 40 // be possible. |
41 byte ForInType(FeedbackVectorSlot feedback_vector_slot); | 41 byte ForInType(FeedbackVectorSlot feedback_vector_slot); |
42 | 42 |
43 void GetStoreModeAndKeyType(TypeFeedbackId id, | 43 void GetStoreModeAndKeyType(TypeFeedbackId id, |
44 KeyedAccessStoreMode* store_mode, | 44 KeyedAccessStoreMode* store_mode, |
45 IcCheckType* key_type); | 45 IcCheckType* key_type); |
46 void GetStoreModeAndKeyType(FeedbackVectorICSlot slot, | 46 void GetStoreModeAndKeyType(FeedbackVectorICSlot slot, |
47 KeyedAccessStoreMode* store_mode, | 47 KeyedAccessStoreMode* store_mode, |
48 IcCheckType* key_type); | 48 IcCheckType* key_type); |
49 void GetLoadKeyType(TypeFeedbackId id, IcCheckType* key_type); | |
50 | 49 |
51 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, | 50 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, |
52 SmallMapList* receiver_types); | 51 SmallMapList* receiver_types); |
53 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, | 52 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, |
54 SmallMapList* receiver_types, bool* is_string, | 53 SmallMapList* receiver_types, bool* is_string, |
55 IcCheckType* key_type); | 54 IcCheckType* key_type); |
56 void AssignmentReceiverTypes(TypeFeedbackId id, Handle<Name> name, | 55 void AssignmentReceiverTypes(TypeFeedbackId id, Handle<Name> name, |
57 SmallMapList* receiver_types); | 56 SmallMapList* receiver_types); |
58 void AssignmentReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, | 57 void AssignmentReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, |
59 SmallMapList* receiver_types); | 58 SmallMapList* receiver_types); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 Zone* zone_; | 149 Zone* zone_; |
151 Handle<UnseededNumberDictionary> dictionary_; | 150 Handle<UnseededNumberDictionary> dictionary_; |
152 Handle<TypeFeedbackVector> feedback_vector_; | 151 Handle<TypeFeedbackVector> feedback_vector_; |
153 | 152 |
154 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 153 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
155 }; | 154 }; |
156 | 155 |
157 } } // namespace v8::internal | 156 } } // namespace v8::internal |
158 | 157 |
159 #endif // V8_TYPE_INFO_H_ | 158 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |