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

Unified Diff: src/type-info.h

Issue 2123983004: [ic] Split megamorphic stub cache in two caches (for loads and for stores). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@flags-fix
Patch Set: Rebasing Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: src/type-info.h
diff --git a/src/type-info.h b/src/type-info.h
index 3c734be0cdb28759f5f23ff86e945445f28a2c26..b61c17e7e70c79e64eadceb4e0ccac693523c7b4 100644
--- a/src/type-info.h
+++ b/src/type-info.h
@@ -18,6 +18,7 @@ namespace internal {
// Forward declarations.
class SmallMapList;
class FeedbackNexus;
+class StubCache;
class TypeFeedbackOracle: public ZoneObject {
public:
@@ -95,10 +96,12 @@ class TypeFeedbackOracle: public ZoneObject {
Isolate* isolate() const { return isolate_; }
private:
- void CollectReceiverTypes(FeedbackVectorSlot slot, Handle<Name> name,
- Code::Flags flags, SmallMapList* types);
- void CollectReceiverTypes(FeedbackNexus* nexus, Handle<Name> name,
- Code::Flags flags, SmallMapList* types);
+ void CollectReceiverTypes(StubCache* stub_cache, FeedbackVectorSlot slot,
+ Handle<Name> name, Code::Flags flags,
+ SmallMapList* types);
+ void CollectReceiverTypes(StubCache* stub_cache, FeedbackNexus* nexus,
+ Handle<Name> name, Code::Flags flags,
+ SmallMapList* types);
// Returns true if there is at least one string map and if
// all maps are string maps.

Powered by Google App Engine
This is Rietveld 408576698