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); |
49 | 50 |
50 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, | 51 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, |
51 SmallMapList* receiver_types); | 52 SmallMapList* receiver_types); |
52 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, | 53 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, |
53 SmallMapList* receiver_types, bool* is_string, | 54 SmallMapList* receiver_types, bool* is_string, |
54 IcCheckType* key_type); | 55 IcCheckType* key_type); |
55 void AssignmentReceiverTypes(TypeFeedbackId id, Handle<Name> name, | 56 void AssignmentReceiverTypes(TypeFeedbackId id, Handle<Name> name, |
56 SmallMapList* receiver_types); | 57 SmallMapList* receiver_types); |
57 void AssignmentReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, | 58 void AssignmentReceiverTypes(FeedbackVectorICSlot slot, Handle<Name> name, |
58 SmallMapList* receiver_types); | 59 SmallMapList* receiver_types); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 Zone* zone_; | 150 Zone* zone_; |
150 Handle<UnseededNumberDictionary> dictionary_; | 151 Handle<UnseededNumberDictionary> dictionary_; |
151 Handle<TypeFeedbackVector> feedback_vector_; | 152 Handle<TypeFeedbackVector> feedback_vector_; |
152 | 153 |
153 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 154 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
154 }; | 155 }; |
155 | 156 |
156 } } // namespace v8::internal | 157 } } // namespace v8::internal |
157 | 158 |
158 #endif // V8_TYPE_INFO_H_ | 159 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |