Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: src/type-info.h

Issue 11794045: Use POLYMORPHIC for polymorphic Keyed(Load|Store)IC (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 class TypeFeedbackOracle: public ZoneObject { 236 class TypeFeedbackOracle: public ZoneObject {
237 public: 237 public:
238 TypeFeedbackOracle(Handle<Code> code, 238 TypeFeedbackOracle(Handle<Code> code,
239 Handle<Context> native_context, 239 Handle<Context> native_context,
240 Isolate* isolate, 240 Isolate* isolate,
241 Zone* zone); 241 Zone* zone);
242 242
243 bool LoadIsMonomorphicNormal(Property* expr); 243 bool LoadIsMonomorphicNormal(Property* expr);
244 bool LoadIsUninitialized(Property* expr); 244 bool LoadIsUninitialized(Property* expr);
245 bool LoadIsMegamorphicWithTypeInfo(Property* expr); 245 bool LoadIsPolymorphic(Property* expr);
246 bool StoreIsMonomorphicNormal(TypeFeedbackId ast_id); 246 bool StoreIsMonomorphicNormal(TypeFeedbackId ast_id);
247 bool StoreIsMegamorphicWithTypeInfo(TypeFeedbackId ast_id); 247 bool StoreIsPolymorphic(TypeFeedbackId ast_id);
248 bool CallIsMonomorphic(Call* expr); 248 bool CallIsMonomorphic(Call* expr);
249 bool CallNewIsMonomorphic(CallNew* expr); 249 bool CallNewIsMonomorphic(CallNew* expr);
250 bool ObjectLiteralStoreIsMonomorphic(ObjectLiteral::Property* prop); 250 bool ObjectLiteralStoreIsMonomorphic(ObjectLiteral::Property* prop);
251 251
252 bool IsForInFastCase(ForInStatement* expr); 252 bool IsForInFastCase(ForInStatement* expr);
253 253
254 Handle<Map> LoadMonomorphicReceiverType(Property* expr); 254 Handle<Map> LoadMonomorphicReceiverType(Property* expr);
255 Handle<Map> StoreMonomorphicReceiverType(TypeFeedbackId ast_id); 255 Handle<Map> StoreMonomorphicReceiverType(TypeFeedbackId ast_id);
256 256
257 void LoadReceiverTypes(Property* expr, 257 void LoadReceiverTypes(Property* expr,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 Isolate* isolate_; 327 Isolate* isolate_;
328 Handle<UnseededNumberDictionary> dictionary_; 328 Handle<UnseededNumberDictionary> dictionary_;
329 Zone* zone_; 329 Zone* zone_;
330 330
331 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 331 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
332 }; 332 };
333 333
334 } } // namespace v8::internal 334 } } // namespace v8::internal
335 335
336 #endif // V8_TYPE_INFO_H_ 336 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/objects-visiting-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698