| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 // Forward declarations. | 220 // Forward declarations. |
| 221 class Assignment; | 221 class Assignment; |
| 222 class BinaryOperation; | 222 class BinaryOperation; |
| 223 class Call; | 223 class Call; |
| 224 class CallNew; | 224 class CallNew; |
| 225 class CaseClause; | 225 class CaseClause; |
| 226 class CompareOperation; | 226 class CompareOperation; |
| 227 class CompilationInfo; | 227 class CompilationInfo; |
| 228 class CountOperation; | 228 class CountOperation; |
| 229 class Expression; | 229 class Expression; |
| 230 class ForInStatement; |
| 231 class ICStub; |
| 230 class Property; | 232 class Property; |
| 231 class SmallMapList; | 233 class SmallMapList; |
| 232 class UnaryOperation; | 234 class UnaryOperation; |
| 233 class ForInStatement; | |
| 234 | 235 |
| 235 | 236 |
| 236 class TypeFeedbackOracle: public ZoneObject { | 237 class TypeFeedbackOracle: public ZoneObject { |
| 237 public: | 238 public: |
| 238 TypeFeedbackOracle(Handle<Code> code, | 239 TypeFeedbackOracle(Handle<Code> code, |
| 239 Handle<Context> native_context, | 240 Handle<Context> native_context, |
| 240 Isolate* isolate, | 241 Isolate* isolate, |
| 241 Zone* zone); | 242 Zone* zone); |
| 242 | 243 |
| 243 bool LoadIsMonomorphicNormal(Property* expr); | 244 bool LoadIsMonomorphicNormal(Property* expr); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 273 | 274 |
| 274 CheckType GetCallCheckType(Call* expr); | 275 CheckType GetCallCheckType(Call* expr); |
| 275 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); | 276 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
| 276 | 277 |
| 277 Handle<JSFunction> GetCallTarget(Call* expr); | 278 Handle<JSFunction> GetCallTarget(Call* expr); |
| 278 Handle<JSFunction> GetCallNewTarget(CallNew* expr); | 279 Handle<JSFunction> GetCallNewTarget(CallNew* expr); |
| 279 | 280 |
| 280 Handle<Map> GetObjectLiteralStoreMap(ObjectLiteral::Property* prop); | 281 Handle<Map> GetObjectLiteralStoreMap(ObjectLiteral::Property* prop); |
| 281 | 282 |
| 282 bool LoadIsBuiltin(Property* expr, Builtins::Name id); | 283 bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
| 284 bool LoadIsStub(Property* expr, ICStub* stub); |
| 283 | 285 |
| 284 // TODO(1571) We can't use ToBooleanStub::Types as the return value because | 286 // TODO(1571) We can't use ToBooleanStub::Types as the return value because |
| 285 // of various cylces in our headers. Death to tons of implementations in | 287 // of various cylces in our headers. Death to tons of implementations in |
| 286 // headers!! :-P | 288 // headers!! :-P |
| 287 byte ToBooleanTypes(TypeFeedbackId ast_id); | 289 byte ToBooleanTypes(TypeFeedbackId ast_id); |
| 288 | 290 |
| 289 // Get type information for arithmetic operations and compares. | 291 // Get type information for arithmetic operations and compares. |
| 290 TypeInfo UnaryType(UnaryOperation* expr); | 292 TypeInfo UnaryType(UnaryOperation* expr); |
| 291 void BinaryType(BinaryOperation* expr, | 293 void BinaryType(BinaryOperation* expr, |
| 292 TypeInfo* left, | 294 TypeInfo* left, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 Isolate* isolate_; | 329 Isolate* isolate_; |
| 328 Handle<UnseededNumberDictionary> dictionary_; | 330 Handle<UnseededNumberDictionary> dictionary_; |
| 329 Zone* zone_; | 331 Zone* zone_; |
| 330 | 332 |
| 331 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 333 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 332 }; | 334 }; |
| 333 | 335 |
| 334 } } // namespace v8::internal | 336 } } // namespace v8::internal |
| 335 | 337 |
| 336 #endif // V8_TYPE_INFO_H_ | 338 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |