Commit d061d123 authored by Benedikt Meurer's avatar Benedikt Meurer

[turbofan] Properly deal with empty access info list for JSStoreNamed.

TBR=jarin@chromium.org
BUG=v8:4470
LOG=n

Review URL: https://codereview.chromium.org/1424533002 .

Cr-Commit-Position: refs/heads/master@{#31512}
parent 7bc5ce16
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment