Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index 00e8ee85f7c139fb826115e6848083c70128af9d..75e915bb846d9b0e8c57f8c29102c2c7526c939f 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -488,7 +488,7 @@ void TypeFeedbackOracle::CollectReceiverTypes(TypeFeedbackId ast_id, |
isolate_->builtins()->builtin(Builtins::kStoreIC_GlobalProxy)) { |
// TODO(fschneider): We could collect the maps and signal that |
// we need a generic store (or load) here. |
- ASSERT(Handle<Code>::cast(object)->ic_state() == MEGAMORPHIC); |
+ ASSERT(Handle<Code>::cast(object)->ic_state() == GENERIC); |
} else if (object->IsMap()) { |
types->Add(Handle<Map>::cast(object), zone()); |
} else if (FLAG_collect_megamorphic_maps_from_stub_cache && |