| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 Maybe<int>* fixed_right_arg, | 315 Maybe<int>* fixed_right_arg, |
| 316 Token::Value operation); | 316 Token::Value operation); |
| 317 | 317 |
| 318 void CompareType(TypeFeedbackId id, | 318 void CompareType(TypeFeedbackId id, |
| 319 Handle<Type>* left, | 319 Handle<Type>* left, |
| 320 Handle<Type>* right, | 320 Handle<Type>* right, |
| 321 Handle<Type>* combined); | 321 Handle<Type>* combined); |
| 322 | 322 |
| 323 Handle<Type> CountType(TypeFeedbackId id); | 323 Handle<Type> CountType(TypeFeedbackId id); |
| 324 | 324 |
| 325 Handle<Type> ClauseType(TypeFeedbackId id); | |
| 326 | |
| 327 Zone* zone() const { return zone_; } | 325 Zone* zone() const { return zone_; } |
| 328 Isolate* isolate() const { return isolate_; } | 326 Isolate* isolate() const { return isolate_; } |
| 329 | 327 |
| 330 private: | 328 private: |
| 331 void CollectReceiverTypes(TypeFeedbackId id, | 329 void CollectReceiverTypes(TypeFeedbackId id, |
| 332 Handle<String> name, | 330 Handle<String> name, |
| 333 Code::Flags flags, | 331 Code::Flags flags, |
| 334 SmallMapList* types); | 332 SmallMapList* types); |
| 335 | 333 |
| 336 void SetInfo(TypeFeedbackId id, Object* target); | 334 void SetInfo(TypeFeedbackId id, Object* target); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 356 Isolate* isolate_; | 354 Isolate* isolate_; |
| 357 Zone* zone_; | 355 Zone* zone_; |
| 358 Handle<UnseededNumberDictionary> dictionary_; | 356 Handle<UnseededNumberDictionary> dictionary_; |
| 359 | 357 |
| 360 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 358 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 361 }; | 359 }; |
| 362 | 360 |
| 363 } } // namespace v8::internal | 361 } } // namespace v8::internal |
| 364 | 362 |
| 365 #endif // V8_TYPE_INFO_H_ | 363 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |