| Index: src/compiler/js-native-context-specialization.cc
|
| diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc
|
| index 907f915695a7f31fd5563fe6ad572181cab0a19d..71597d4683ab8e9d0284d8865f1527843f0ff245 100644
|
| --- a/src/compiler/js-native-context-specialization.cc
|
| +++ b/src/compiler/js-native-context-specialization.cc
|
| @@ -709,7 +709,9 @@ Reduction JSNativeContextSpecialization::ReduceJSStoreNamed(Node* node) {
|
| if (!ComputePropertyAccessInfos(receiver_maps, name, kStore, &access_infos)) {
|
| return NoChange();
|
| }
|
| - DCHECK(!access_infos.empty());
|
| +
|
| + // Nothing to do if we have no non-deprecated maps.
|
| + if (access_infos.empty()) return NoChange();
|
|
|
| // The final states for every polymorphic branch. We join them with
|
| // Merge+EffectPhi at the bottom.
|
|
|