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

Unified Diff: src/type-info.h

Issue 1865863003: Cleanup IC-related code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-info.h
diff --git a/src/type-info.h b/src/type-info.h
index c4b0928fc4820484102e0db5ad33322f674e9480..3c734be0cdb28759f5f23ff86e945445f28a2c26 100644
--- a/src/type-info.h
+++ b/src/type-info.h
@@ -17,7 +17,7 @@ namespace internal {
// Forward declarations.
class SmallMapList;
-
+class FeedbackNexus;
class TypeFeedbackOracle: public ZoneObject {
public:
@@ -56,8 +56,7 @@ class TypeFeedbackOracle: public ZoneObject {
SmallMapList* receiver_types);
void CollectReceiverTypes(FeedbackVectorSlot slot, SmallMapList* types);
- template <class T>
- void CollectReceiverTypes(T* obj, SmallMapList* types);
+ void CollectReceiverTypes(FeedbackNexus* nexus, SmallMapList* types);
static bool IsRelevantFeedback(Map* map, Context* native_context) {
Object* constructor = map->GetConstructor();
@@ -98,9 +97,8 @@ class TypeFeedbackOracle: public ZoneObject {
private:
void CollectReceiverTypes(FeedbackVectorSlot slot, Handle<Name> name,
Code::Flags flags, SmallMapList* types);
- template <class T>
- void CollectReceiverTypes(T* obj, Handle<Name> name, Code::Flags flags,
- SmallMapList* types);
+ void CollectReceiverTypes(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.
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698