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...) 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); | |
301 void BinaryType(TypeFeedbackId id, | 300 void BinaryType(TypeFeedbackId id, |
302 Handle<Type>* left, | 301 Handle<Type>* left, |
303 Handle<Type>* right, | 302 Handle<Type>* right, |
304 Handle<Type>* result, | 303 Handle<Type>* result, |
305 Maybe<int>* fixed_right_arg); | 304 Maybe<int>* fixed_right_arg); |
306 | 305 |
307 void CompareType(TypeFeedbackId id, | 306 void CompareType(TypeFeedbackId id, |
308 Handle<Type>* left, | 307 Handle<Type>* left, |
309 Handle<Type>* right, | 308 Handle<Type>* right, |
310 Handle<Type>* combined); | 309 Handle<Type>* combined); |
(...skipping 34 matching lines...) Loading... |
345 Isolate* isolate_; | 344 Isolate* isolate_; |
346 Zone* zone_; | 345 Zone* zone_; |
347 Handle<UnseededNumberDictionary> dictionary_; | 346 Handle<UnseededNumberDictionary> dictionary_; |
348 | 347 |
349 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 348 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
350 }; | 349 }; |
351 | 350 |
352 } } // namespace v8::internal | 351 } } // namespace v8::internal |
353 | 352 |
354 #endif // V8_TYPE_INFO_H_ | 353 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |