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, | |
116 Token::Value operation); | 115 Token::Value operation); |
117 | 116 |
118 void CompareType(TypeFeedbackId id, | 117 void CompareType(TypeFeedbackId id, |
119 Handle<Type>* left, | 118 Handle<Type>* left, |
120 Handle<Type>* right, | 119 Handle<Type>* right, |
121 Handle<Type>* combined); | 120 Handle<Type>* combined); |
122 | 121 |
123 Handle<Type> CountType(TypeFeedbackId id); | 122 Handle<Type> CountType(TypeFeedbackId id); |
124 | 123 |
125 Zone* zone() const { return zone_; } | 124 Zone* zone() const { return zone_; } |
(...skipping 28 matching lines...) Expand all 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 |