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. |