| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 |
| 11 // with the distribution. | 11 // with the distribution. |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 class CompareOperation; | 232 class CompareOperation; |
| 233 class CompilationInfo; | 233 class CompilationInfo; |
| 234 class Property; | 234 class Property; |
| 235 class CaseClause; | 235 class CaseClause; |
| 236 | 236 |
| 237 class TypeFeedbackOracle BASE_EMBEDDED { | 237 class TypeFeedbackOracle BASE_EMBEDDED { |
| 238 public: | 238 public: |
| 239 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); | 239 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); |
| 240 | 240 |
| 241 bool LoadIsMonomorphic(Property* expr); | 241 bool LoadIsMonomorphic(Property* expr); |
| 242 bool StoreIsMonomorphic(Assignment* expr); | 242 bool StoreIsMonomorphic(Expression* expr); |
| 243 bool CallIsMonomorphic(Call* expr); | 243 bool CallIsMonomorphic(Call* expr); |
| 244 | 244 |
| 245 Handle<Map> LoadMonomorphicReceiverType(Property* expr); | 245 Handle<Map> LoadMonomorphicReceiverType(Property* expr); |
| 246 Handle<Map> StoreMonomorphicReceiverType(Assignment* expr); | 246 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); |
| 247 | 247 |
| 248 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); | 248 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); |
| 249 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); | 249 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); |
| 250 ZoneMapList* CallReceiverTypes(Call* expr, Handle<String> name); | 250 ZoneMapList* CallReceiverTypes(Call* expr, Handle<String> name); |
| 251 | 251 |
| 252 ExternalArrayType GetKeyedLoadExternalArrayType(Property* expr); | 252 ExternalArrayType GetKeyedLoadExternalArrayType(Property* expr); |
| 253 ExternalArrayType GetKeyedStoreExternalArrayType(Assignment* expr); | 253 ExternalArrayType GetKeyedStoreExternalArrayType(Expression* expr); |
| 254 | 254 |
| 255 CheckType GetCallCheckType(Call* expr); | 255 CheckType GetCallCheckType(Call* expr); |
| 256 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); | 256 Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
| 257 | 257 |
| 258 bool LoadIsBuiltin(Property* expr, Builtins::Name id); | 258 bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
| 259 | 259 |
| 260 // Get type information for arithmetic operations and compares. | 260 // Get type information for arithmetic operations and compares. |
| 261 TypeInfo BinaryType(BinaryOperation* expr); | 261 TypeInfo BinaryType(BinaryOperation* expr); |
| 262 TypeInfo CompareType(CompareOperation* expr); | 262 TypeInfo CompareType(CompareOperation* expr); |
| 263 TypeInfo SwitchType(CaseClause* clause); | 263 TypeInfo SwitchType(CaseClause* clause); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 281 | 281 |
| 282 Handle<Context> global_context_; | 282 Handle<Context> global_context_; |
| 283 Handle<NumberDictionary> dictionary_; | 283 Handle<NumberDictionary> dictionary_; |
| 284 | 284 |
| 285 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 285 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 286 }; | 286 }; |
| 287 | 287 |
| 288 } } // namespace v8::internal | 288 } } // namespace v8::internal |
| 289 | 289 |
| 290 #endif // V8_TYPE_INFO_H_ | 290 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |