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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 290 |
291 bool LoadIsBuiltin(Property* expr, Builtins::Name id); | 291 bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
292 bool LoadIsStub(Property* expr, ICStub* stub); | 292 bool LoadIsStub(Property* expr, ICStub* stub); |
293 | 293 |
294 // TODO(1571) We can't use ToBooleanStub::Types as the return value because | 294 // TODO(1571) We can't use ToBooleanStub::Types as the return value because |
295 // of various cycles in our headers. Death to tons of implementations in | 295 // of various cycles in our headers. Death to tons of implementations in |
296 // headers!! :-P | 296 // headers!! :-P |
297 byte ToBooleanTypes(TypeFeedbackId id); | 297 byte ToBooleanTypes(TypeFeedbackId id); |
298 | 298 |
299 // Get type information for arithmetic operations and compares. | 299 // Get type information for arithmetic operations and compares. |
| 300 Handle<Type> UnaryType(TypeFeedbackId id); |
300 void BinaryType(TypeFeedbackId id, | 301 void BinaryType(TypeFeedbackId id, |
301 Handle<Type>* left, | 302 Handle<Type>* left, |
302 Handle<Type>* right, | 303 Handle<Type>* right, |
303 Handle<Type>* result, | 304 Handle<Type>* result, |
304 Maybe<int>* fixed_right_arg); | 305 Maybe<int>* fixed_right_arg); |
305 | 306 |
306 void CompareType(TypeFeedbackId id, | 307 void CompareType(TypeFeedbackId id, |
307 Handle<Type>* left, | 308 Handle<Type>* left, |
308 Handle<Type>* right, | 309 Handle<Type>* right, |
309 Handle<Type>* combined); | 310 Handle<Type>* combined); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 Isolate* isolate_; | 345 Isolate* isolate_; |
345 Zone* zone_; | 346 Zone* zone_; |
346 Handle<UnseededNumberDictionary> dictionary_; | 347 Handle<UnseededNumberDictionary> dictionary_; |
347 | 348 |
348 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 349 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
349 }; | 350 }; |
350 | 351 |
351 } } // namespace v8::internal | 352 } } // namespace v8::internal |
352 | 353 |
353 #endif // V8_TYPE_INFO_H_ | 354 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |