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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // of various cycles in our headers. Death to tons of implementations in | 105 // of various cycles in our headers. Death to tons of implementations in |
106 // headers!! :-P | 106 // headers!! :-P |
107 byte ToBooleanTypes(TypeFeedbackId id); | 107 byte ToBooleanTypes(TypeFeedbackId id); |
108 | 108 |
109 // Get type information for arithmetic operations and compares. | 109 // Get type information for arithmetic operations and compares. |
110 void BinaryType(TypeFeedbackId id, | 110 void BinaryType(TypeFeedbackId id, |
111 Handle<Type>* left, | 111 Handle<Type>* left, |
112 Handle<Type>* right, | 112 Handle<Type>* right, |
113 Handle<Type>* result, | 113 Handle<Type>* result, |
114 Maybe<int>* fixed_right_arg, | 114 Maybe<int>* fixed_right_arg, |
| 115 Handle<AllocationSite>* allocation_site, |
115 Token::Value operation); | 116 Token::Value operation); |
116 | 117 |
117 void CompareType(TypeFeedbackId id, | 118 void CompareType(TypeFeedbackId id, |
118 Handle<Type>* left, | 119 Handle<Type>* left, |
119 Handle<Type>* right, | 120 Handle<Type>* right, |
120 Handle<Type>* combined); | 121 Handle<Type>* combined); |
121 | 122 |
122 Handle<Type> CountType(TypeFeedbackId id); | 123 Handle<Type> CountType(TypeFeedbackId id); |
123 | 124 |
124 Zone* zone() const { return zone_; } | 125 Zone* zone() const { return zone_; } |
(...skipping 28 matching lines...) Expand all Loading... |
153 Isolate* isolate_; | 154 Isolate* isolate_; |
154 Zone* zone_; | 155 Zone* zone_; |
155 Handle<UnseededNumberDictionary> dictionary_; | 156 Handle<UnseededNumberDictionary> dictionary_; |
156 | 157 |
157 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 158 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
158 }; | 159 }; |
159 | 160 |
160 } } // namespace v8::internal | 161 } } // namespace v8::internal |
161 | 162 |
162 #endif // V8_TYPE_INFO_H_ | 163 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |