OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // to various cycles in our headers. | 61 // to various cycles in our headers. |
62 // TODO(rossberg): once all oracle access is removed from ast.cc, it should | 62 // TODO(rossberg): once all oracle access is removed from ast.cc, it should |
63 // be possible. | 63 // be possible. |
64 byte ForInType(TypeFeedbackId id); | 64 byte ForInType(TypeFeedbackId id); |
65 | 65 |
66 KeyedAccessStoreMode GetStoreMode(TypeFeedbackId id); | 66 KeyedAccessStoreMode GetStoreMode(TypeFeedbackId id); |
67 | 67 |
68 void CallReceiverTypes(TypeFeedbackId id, | 68 void CallReceiverTypes(TypeFeedbackId id, |
69 Handle<String> name, | 69 Handle<String> name, |
70 int arity, | 70 int arity, |
71 ContextualMode contextual_mode, | |
72 SmallMapList* types); | 71 SmallMapList* types); |
73 void PropertyReceiverTypes(TypeFeedbackId id, | 72 void PropertyReceiverTypes(TypeFeedbackId id, |
74 Handle<String> name, | 73 Handle<String> name, |
75 SmallMapList* receiver_types, | 74 SmallMapList* receiver_types, |
76 bool* is_prototype); | 75 bool* is_prototype); |
77 void KeyedPropertyReceiverTypes(TypeFeedbackId id, | 76 void KeyedPropertyReceiverTypes(TypeFeedbackId id, |
78 SmallMapList* receiver_types, | 77 SmallMapList* receiver_types, |
79 bool* is_string); | 78 bool* is_string); |
80 void AssignmentReceiverTypes(TypeFeedbackId id, | 79 void AssignmentReceiverTypes(TypeFeedbackId id, |
81 Handle<String> name, | 80 Handle<String> name, |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 Isolate* isolate_; | 153 Isolate* isolate_; |
155 Zone* zone_; | 154 Zone* zone_; |
156 Handle<UnseededNumberDictionary> dictionary_; | 155 Handle<UnseededNumberDictionary> dictionary_; |
157 | 156 |
158 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 157 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
159 }; | 158 }; |
160 | 159 |
161 } } // namespace v8::internal | 160 } } // namespace v8::internal |
162 | 161 |
163 #endif // V8_TYPE_INFO_H_ | 162 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |