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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 296 |
297 // Get type information for arithmetic operations and compares. | 297 // Get type information for arithmetic operations and compares. |
298 Handle<Type> UnaryType(TypeFeedbackId id); | 298 Handle<Type> UnaryType(TypeFeedbackId id); |
299 void BinaryType(TypeFeedbackId id, | 299 void BinaryType(TypeFeedbackId id, |
300 Handle<Type>* left, | 300 Handle<Type>* left, |
301 Handle<Type>* right, | 301 Handle<Type>* right, |
302 Handle<Type>* result, | 302 Handle<Type>* result, |
303 Maybe<int>* fixed_right_arg); | 303 Maybe<int>* fixed_right_arg); |
304 | 304 |
305 void CompareType(TypeFeedbackId id, | 305 void CompareType(TypeFeedbackId id, |
306 Handle<Type>* left, | 306 Handle<Type>* left_type, |
307 Handle<Type>* right, | 307 Handle<Type>* right_type, |
308 Handle<Type>* combined); | 308 Handle<Type>* combined_type); |
309 | 309 |
310 Handle<Type> ClauseType(TypeFeedbackId id); | 310 Handle<Type> ClauseType(TypeFeedbackId id); |
311 | 311 |
312 TypeInfo IncrementType(CountOperation* expr); | 312 TypeInfo IncrementType(CountOperation* expr); |
313 | 313 |
314 Zone* zone() const { return zone_; } | 314 Zone* zone() const { return zone_; } |
315 Isolate* isolate() const { return isolate_; } | 315 Isolate* isolate() const { return isolate_; } |
316 | 316 |
317 private: | 317 private: |
318 void CollectReceiverTypes(TypeFeedbackId ast_id, | 318 void CollectReceiverTypes(TypeFeedbackId ast_id, |
(...skipping 24 matching lines...) Expand all Loading... |
343 Isolate* isolate_; | 343 Isolate* isolate_; |
344 Zone* zone_; | 344 Zone* zone_; |
345 Handle<UnseededNumberDictionary> dictionary_; | 345 Handle<UnseededNumberDictionary> dictionary_; |
346 | 346 |
347 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 347 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
348 }; | 348 }; |
349 | 349 |
350 } } // namespace v8::internal | 350 } } // namespace v8::internal |
351 | 351 |
352 #endif // V8_TYPE_INFO_H_ | 352 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |