Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index c43b9138bb8c81c7fc1e4a7bdb9c8be6fae18e68..a63bb8309a87f7e0ca594969fe69347c5a896b68 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -430,7 +430,7 @@ void Property::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
} else if (is_monomorphic_) { |
receiver_types_.Add(oracle->LoadMonomorphicReceiverType(this), |
zone); |
- } else if (oracle->LoadIsMegamorphicWithTypeInfo(this)) { |
+ } else if (oracle->LoadIsPolymorphic(this)) { |
receiver_types_.Reserve(kMaxKeyedPolymorphism, zone); |
oracle->CollectKeyedReceiverTypes(PropertyFeedbackId(), &receiver_types_); |
} |
@@ -452,7 +452,7 @@ void Assignment::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
} else if (is_monomorphic_) { |
// Record receiver type for monomorphic keyed stores. |
receiver_types_.Add(oracle->StoreMonomorphicReceiverType(id), zone); |
- } else if (oracle->StoreIsMegamorphicWithTypeInfo(id)) { |
+ } else if (oracle->StoreIsPolymorphic(id)) { |
receiver_types_.Reserve(kMaxKeyedPolymorphism, zone); |
oracle->CollectKeyedReceiverTypes(id, &receiver_types_); |
} |
@@ -468,7 +468,7 @@ void CountOperation::RecordTypeFeedback(TypeFeedbackOracle* oracle, |
// Record receiver type for monomorphic keyed stores. |
receiver_types_.Add( |
oracle->StoreMonomorphicReceiverType(id), zone); |
- } else if (oracle->StoreIsMegamorphicWithTypeInfo(id)) { |
+ } else if (oracle->StoreIsPolymorphic(id)) { |
receiver_types_.Reserve(kMaxKeyedPolymorphism, zone); |
oracle->CollectKeyedReceiverTypes(id, &receiver_types_); |
} |