[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}
This commit is contained in:
Benedikt Meurer 2015-10-23 13:14:48 +02:00
parent 7bc5ce16ee
commit d061d1236b

View File

@ -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.