[turbofan] Ignore deprecated maps for named accesses

We already do this (if we can't migrate them) when processing the
feedback but it could still happen that we find a deprecated map in the
graph later on.

Bug: chromium:996819, v8:7790
Change-Id: I3b9acc8bc21b5a9812235145b726ba3e53cc8957
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1784284
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63551}
This commit is contained in:
Georg Neis 2019-09-04 13:09:33 +02:00 committed by Commit Bot
parent b293533ed8
commit 64bf07054e

View File

@ -1063,9 +1063,7 @@ void JSNativeContextSpecialization::FilterMapsAndGetPropertyAccessInfos(
for (Handle<Map> map_handle : receiver_maps) {
MapRef map(broker(), map_handle);
if (map.is_deprecated()) {
FATAL("map is deprecated");
}
if (map.is_deprecated()) continue;
PropertyAccessInfo access_info = broker()->GetPropertyAccessInfo(
map, feedback.name(), access_mode, dependencies(),
FLAG_concurrent_inlining ? SerializationPolicy::kAssumeSerialized