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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // of various cycles in our headers. Death to tons of implementations in | 306 // of various cycles in our headers. Death to tons of implementations in |
307 // headers!! :-P | 307 // headers!! :-P |
308 byte ToBooleanTypes(TypeFeedbackId id); | 308 byte ToBooleanTypes(TypeFeedbackId id); |
309 | 309 |
310 // Get type information for arithmetic operations and compares. | 310 // Get type information for arithmetic operations and compares. |
311 void BinaryType(TypeFeedbackId id, | 311 void BinaryType(TypeFeedbackId id, |
312 Handle<Type>* left, | 312 Handle<Type>* left, |
313 Handle<Type>* right, | 313 Handle<Type>* right, |
314 Handle<Type>* result, | 314 Handle<Type>* result, |
315 Maybe<int>* fixed_right_arg, | 315 Maybe<int>* fixed_right_arg, |
| 316 Handle<AllocationSite>* allocation_site, |
316 Token::Value operation); | 317 Token::Value operation); |
317 | 318 |
318 void CompareType(TypeFeedbackId id, | 319 void CompareType(TypeFeedbackId id, |
319 Handle<Type>* left, | 320 Handle<Type>* left, |
320 Handle<Type>* right, | 321 Handle<Type>* right, |
321 Handle<Type>* combined); | 322 Handle<Type>* combined); |
322 | 323 |
323 Handle<Type> CountType(TypeFeedbackId id); | 324 Handle<Type> CountType(TypeFeedbackId id); |
324 | 325 |
325 Handle<Type> ClauseType(TypeFeedbackId id); | 326 Handle<Type> ClauseType(TypeFeedbackId id); |
(...skipping 30 matching lines...) Expand all Loading... |
356 Isolate* isolate_; | 357 Isolate* isolate_; |
357 Zone* zone_; | 358 Zone* zone_; |
358 Handle<UnseededNumberDictionary> dictionary_; | 359 Handle<UnseededNumberDictionary> dictionary_; |
359 | 360 |
360 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 361 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
361 }; | 362 }; |
362 | 363 |
363 } } // namespace v8::internal | 364 } } // namespace v8::internal |
364 | 365 |
365 #endif // V8_TYPE_INFO_H_ | 366 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |