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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 class CompareOperation; | 208 class CompareOperation; |
209 class CountOperation; | 209 class CountOperation; |
210 class CompilationInfo; | 210 class CompilationInfo; |
211 class Property; | 211 class Property; |
212 class CaseClause; | 212 class CaseClause; |
213 | 213 |
214 class TypeFeedbackOracle BASE_EMBEDDED { | 214 class TypeFeedbackOracle BASE_EMBEDDED { |
215 public: | 215 public: |
216 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); | 216 TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); |
217 | 217 |
218 bool LoadIsMonomorphic(Property* expr); | 218 bool LoadIsMonomorphicNormal(Property* expr); |
219 bool StoreIsMonomorphic(Expression* expr); | 219 bool StoreIsMonomorphicNormal(Expression* expr); |
220 bool CallIsMonomorphic(Call* expr); | 220 bool CallIsMonomorphic(Call* expr); |
221 | 221 |
222 Handle<Map> LoadMonomorphicReceiverType(Property* expr); | 222 Handle<Map> LoadMonomorphicReceiverType(Property* expr); |
223 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); | 223 Handle<Map> StoreMonomorphicReceiverType(Expression* expr); |
224 | 224 |
225 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); | 225 ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); |
226 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); | 226 ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); |
227 ZoneMapList* CallReceiverTypes(Call* expr, | 227 ZoneMapList* CallReceiverTypes(Call* expr, |
228 Handle<String> name, | 228 Handle<String> name, |
229 CallKind call_kind); | 229 CallKind call_kind); |
(...skipping 30 matching lines...) Expand all Loading... |
260 | 260 |
261 Handle<Context> global_context_; | 261 Handle<Context> global_context_; |
262 Handle<NumberDictionary> dictionary_; | 262 Handle<NumberDictionary> dictionary_; |
263 | 263 |
264 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 264 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
265 }; | 265 }; |
266 | 266 |
267 } } // namespace v8::internal | 267 } } // namespace v8::internal |
268 | 268 |
269 #endif // V8_TYPE_INFO_H_ | 269 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |