| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 1e298452c1bf479e0bd2814f0120940e81704d3b..d7af7ca696f150ef3f7b8e731af967c2d25b2d23 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -486,7 +486,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) {
|
|
|