| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 // TODO(1571) We can't use ForInStatement::ForInType as the return value due | 32 // TODO(1571) We can't use ForInStatement::ForInType as the return value due |
| 33 // to various cycles in our headers. | 33 // to various cycles in our headers. |
| 34 // TODO(rossberg): once all oracle access is removed from ast.cc, it should | 34 // TODO(rossberg): once all oracle access is removed from ast.cc, it should |
| 35 // be possible. | 35 // be possible. |
| 36 byte ForInType(FeedbackVectorSlot feedback_vector_slot); | 36 byte ForInType(FeedbackVectorSlot feedback_vector_slot); |
| 37 | 37 |
| 38 void GetStoreModeAndKeyType(TypeFeedbackId id, | 38 void GetStoreModeAndKeyType(TypeFeedbackId id, |
| 39 KeyedAccessStoreMode* store_mode, | 39 KeyedAccessStoreMode* store_mode, |
| 40 IcCheckType* key_type); | 40 IcCheckType* key_type); |
| 41 void GetLoadKeyType(TypeFeedbackId id, IcCheckType* key_type); |
| 41 | 42 |
| 42 void PropertyReceiverTypes(TypeFeedbackId id, Handle<String> name, | 43 void PropertyReceiverTypes(TypeFeedbackId id, Handle<String> name, |
| 43 SmallMapList* receiver_types); | 44 SmallMapList* receiver_types); |
| 44 void KeyedPropertyReceiverTypes(TypeFeedbackId id, | 45 void KeyedPropertyReceiverTypes(TypeFeedbackId id, |
| 45 SmallMapList* receiver_types, | 46 SmallMapList* receiver_types, |
| 46 bool* is_string); | 47 bool* is_string, |
| 48 IcCheckType* key_type); |
| 47 void AssignmentReceiverTypes(TypeFeedbackId id, | 49 void AssignmentReceiverTypes(TypeFeedbackId id, |
| 48 Handle<String> name, | 50 Handle<String> name, |
| 49 SmallMapList* receiver_types); | 51 SmallMapList* receiver_types); |
| 50 void KeyedAssignmentReceiverTypes(TypeFeedbackId id, | 52 void KeyedAssignmentReceiverTypes(TypeFeedbackId id, |
| 51 SmallMapList* receiver_types, | 53 SmallMapList* receiver_types, |
| 52 KeyedAccessStoreMode* store_mode, | 54 KeyedAccessStoreMode* store_mode, |
| 53 IcCheckType* key_type); | 55 IcCheckType* key_type); |
| 54 void CountReceiverTypes(TypeFeedbackId id, | 56 void CountReceiverTypes(TypeFeedbackId id, |
| 55 SmallMapList* receiver_types); | 57 SmallMapList* receiver_types); |
| 56 | 58 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 Zone* zone_; | 124 Zone* zone_; |
| 123 Handle<UnseededNumberDictionary> dictionary_; | 125 Handle<UnseededNumberDictionary> dictionary_; |
| 124 Handle<TypeFeedbackVector> feedback_vector_; | 126 Handle<TypeFeedbackVector> feedback_vector_; |
| 125 | 127 |
| 126 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 128 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 127 }; | 129 }; |
| 128 | 130 |
| 129 } } // namespace v8::internal | 131 } } // namespace v8::internal |
| 130 | 132 |
| 131 #endif // V8_TYPE_INFO_H_ | 133 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |