| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index c5bdc9bec9dc3f11bf86e878e17fa2589115af90..dee2a77d9e8fdbff391b3e395cf35f5d260f9e70 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -475,7 +475,8 @@ void TypeFeedbackOracle::CollectReceiverTypes(TypeFeedbackId ast_id,
|
| ASSERT(Handle<Code>::cast(object)->ic_state() == GENERIC);
|
| } else if (object->IsMap()) {
|
| types->AddMapIfMissing(Handle<Map>::cast(object), zone());
|
| - } else if (Handle<Code>::cast(object)->ic_state() == POLYMORPHIC) {
|
| + } else if (Handle<Code>::cast(object)->ic_state() == POLYMORPHIC ||
|
| + Handle<Code>::cast(object)->ic_state() == MONOMORPHIC) {
|
| CollectPolymorphicMaps(Handle<Code>::cast(object), types);
|
| } else if (FLAG_collect_megamorphic_maps_from_stub_cache &&
|
| Handle<Code>::cast(object)->ic_state() == MEGAMORPHIC) {
|
|
|