| OLD | NEW |
| 1 // Copyright 2011 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 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 class CompareOperation; | 209 class CompareOperation; |
| 210 class CompilationInfo; | 210 class CompilationInfo; |
| 211 class CountOperation; | 211 class CountOperation; |
| 212 class Property; | 212 class Property; |
| 213 class SmallMapList; | 213 class SmallMapList; |
| 214 class UnaryOperation; | 214 class UnaryOperation; |
| 215 | 215 |
| 216 | 216 |
| 217 class TypeFeedbackOracle BASE_EMBEDDED { | 217 class TypeFeedbackOracle BASE_EMBEDDED { |
| 218 public: | 218 public: |
| 219 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); | 219 TypeFeedbackOracle(Handle<Code> code, |
| 220 Handle<Context> global_context, |
| 221 Isolate* isolate); |
| 220 | 222 |
| 221 bool LoadIsMonomorphicNormal(Property* expr); | 223 bool LoadIsMonomorphicNormal(Property* expr); |
| 222 bool LoadIsMegamorphicWithTypeInfo(Property* expr); | 224 bool LoadIsMegamorphicWithTypeInfo(Property* expr); |
| 223 bool StoreIsMonomorphicNormal(Expression* expr); | 225 bool StoreIsMonomorphicNormal(Expression* expr); |
| 224 bool StoreIsMegamorphicWithTypeInfo(Expression* expr); | 226 bool StoreIsMegamorphicWithTypeInfo(Expression* expr); |
| 225 bool CallIsMonomorphic(Call* expr); | 227 bool CallIsMonomorphic(Call* expr); |
| 226 | 228 |
| 227 Handle<Map> LoadMonomorphicReceiverType(Property* expr); | 229 Handle<Map> LoadMonomorphicReceiverType(Property* expr); |
| 228 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); | 230 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); |
| 229 | 231 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 byte* old_start, | 277 byte* old_start, |
| 276 byte* new_start); | 278 byte* new_start); |
| 277 void ProcessRelocInfos(ZoneList<RelocInfo>* infos); | 279 void ProcessRelocInfos(ZoneList<RelocInfo>* infos); |
| 278 void ProcessTargetAt(Address target_address, unsigned ast_id); | 280 void ProcessTargetAt(Address target_address, unsigned ast_id); |
| 279 | 281 |
| 280 // Returns an element from the backing store. Returns undefined if | 282 // Returns an element from the backing store. Returns undefined if |
| 281 // there is no information. | 283 // there is no information. |
| 282 Handle<Object> GetInfo(unsigned ast_id); | 284 Handle<Object> GetInfo(unsigned ast_id); |
| 283 | 285 |
| 284 Handle<Context> global_context_; | 286 Handle<Context> global_context_; |
| 287 Isolate* isolate_; |
| 285 Handle<NumberDictionary> dictionary_; | 288 Handle<NumberDictionary> dictionary_; |
| 286 | 289 |
| 287 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 290 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 288 }; | 291 }; |
| 289 | 292 |
| 290 } } // namespace v8::internal | 293 } } // namespace v8::internal |
| 291 | 294 |
| 292 #endif // V8_TYPE_INFO_H_ | 295 #endif // V8_TYPE_INFO_H_ |
| OLD | NEW |