| Index: src/ic/stub-cache.cc
|
| diff --git a/src/ic/stub-cache.cc b/src/ic/stub-cache.cc
|
| index 35a4acf8cc3a73bf50e1f665cba9a8baa230b15b..e3a4938d6a345118d1eb2a764e8642405fd7bbc4 100644
|
| --- a/src/ic/stub-cache.cc
|
| +++ b/src/ic/stub-cache.cc
|
| @@ -118,7 +118,7 @@ void StubCache::CollectMatchingMaps(SmallMapList* types, Handle<Name> name,
|
|
|
| int offset = PrimaryOffset(*name, flags, map);
|
| if (entry(primary_, offset) == &primary_[i] &&
|
| - !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) {
|
| + TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) {
|
| types->AddMapIfMissing(Handle<Map>(map), zone);
|
| }
|
| }
|
| @@ -137,7 +137,7 @@ void StubCache::CollectMatchingMaps(SmallMapList* types, Handle<Name> name,
|
| // Lookup in secondary table and add matches.
|
| int offset = SecondaryOffset(*name, flags, primary_offset);
|
| if (entry(secondary_, offset) == &secondary_[i] &&
|
| - !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) {
|
| + TypeFeedbackOracle::IsRelevantFeedback(map, *native_context)) {
|
| types->AddMapIfMissing(Handle<Map>(map), zone);
|
| }
|
| }
|
|
|