Merge V8 5.2.361.47 DO NOT MERGE
https://chromium.googlesource.com/v8/v8/+/5.2.361.47
FPIIM-449
Change-Id: Ibec421b85a9b88cb3a432ada642e469fe7e78346
(cherry picked from commit bcf72ee8e3b26f1d0726869c7ddb3921c68b09a8)
diff --git a/src/type-info.h b/src/type-info.h
index c4b0928..3c734be 100644
--- a/src/type-info.h
+++ b/src/type-info.h
@@ -17,7 +17,7 @@
// Forward declarations.
class SmallMapList;
-
+class FeedbackNexus;
class TypeFeedbackOracle: public ZoneObject {
public:
@@ -56,8 +56,7 @@
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 @@
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.