| 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/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/types.h" | 10 #include "src/types.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // TODO(1571) We can't use ForInStatement::ForInType as the return value due | 34 // TODO(1571) We can't use ForInStatement::ForInType as the return value due |
| 35 // to various cycles in our headers. | 35 // to various cycles in our headers. |
| 36 // TODO(rossberg): once all oracle access is removed from ast.cc, it should | 36 // TODO(rossberg): once all oracle access is removed from ast.cc, it should |
| 37 // be possible. | 37 // be possible. |
| 38 byte ForInType(FeedbackVectorSlot feedback_vector_slot); | 38 byte ForInType(FeedbackVectorSlot feedback_vector_slot); |
| 39 | 39 |
| 40 void GetStoreModeAndKeyType(TypeFeedbackId id, | 40 void GetStoreModeAndKeyType(TypeFeedbackId id, |
| 41 KeyedAccessStoreMode* store_mode, | 41 KeyedAccessStoreMode* store_mode, |
| 42 IcCheckType* key_type); | 42 IcCheckType* key_type); |
| 43 void GetLoadKeyType(TypeFeedbackId id, IcCheckType* key_type); |
| 43 | 44 |
| 44 void PropertyReceiverTypes(TypeFeedbackId id, Handle<String> name, | 45 void PropertyReceiverTypes(TypeFeedbackId id, Handle<String> name, |
| 45 SmallMapList* receiver_types); | 46 SmallMapList* receiver_types); |
| 46 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<String> name, | 47 void PropertyReceiverTypes(FeedbackVectorICSlot slot, Handle<String> name, |
| 47 SmallMapList* receiver_types); | 48 SmallMapList* receiver_types); |
| 48 void KeyedPropertyReceiverTypes(TypeFeedbackId id, | 49 void KeyedPropertyReceiverTypes(TypeFeedbackId id, |
| 49 SmallMapList* receiver_types, | 50 SmallMapList* receiver_types, |
| 50 bool* is_string); | 51 bool* is_string, |
| 52 IcCheckType* key_type); |
| 51 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, | 53 void KeyedPropertyReceiverTypes(FeedbackVectorICSlot slot, |
| 52 SmallMapList* receiver_types, | 54 SmallMapList* receiver_types, |
| 53 bool* is_string); | 55 bool* is_string); |
| 54 void AssignmentReceiverTypes(TypeFeedbackId id, | 56 void AssignmentReceiverTypes(TypeFeedbackId id, |
| 55 Handle<String> name, | 57 Handle<String> name, |
| 56 SmallMapList* receiver_types); | 58 SmallMapList* receiver_types); |
| 57 void KeyedAssignmentReceiverTypes(TypeFeedbackId id, | 59 void KeyedAssignmentReceiverTypes(TypeFeedbackId id, |
| 58 SmallMapList* receiver_types, | 60 SmallMapList* receiver_types, |
| 59 KeyedAccessStoreMode* store_mode, | 61 KeyedAccessStoreMode* store_mode, |
| 60 IcCheckType* key_type); | 62 IcCheckType* key_type); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 Zone* zone_; | 140 Zone* zone_; |
| 139 Handle<UnseededNumberDictionary> dictionary_; | 141 Handle<UnseededNumberDictionary> dictionary_; |
| 140 Handle<TypeFeedbackVector> feedback_vector_; | 142 Handle<TypeFeedbackVector> feedback_vector_; |
| 141 | 143 |
| 142 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 144 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 143 }; | 145 }; |
| 144 | 146 |
| 145 } } // namespace v8::internal | 147 } } // namespace v8::internal |
| 146 | 148 |
| 147 #endif // V8_TYPE_INFO_H_ | 149 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |