PPC: Don't MISS if you read the hole from certain FastHoley arrays.
authormbrandy <mbrandy@us.ibm.com>
Mon, 27 Apr 2015 17:01:40 +0000 (10:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 17:01:17 +0000 (17:01 +0000)
commit63d14580d8735cee070315bcf06403fba5ef0437
tree71c82d2c8ad83fa375d577ce926041aaa2b22e1a
parent3f27bb218860586859ae7b6bdea75dbbd0a73a1d
PPC: Don't MISS if you read the hole from certain FastHoley arrays.

Port caeb9004f0bfc2a916fc63e9d27100a3110016d4

Original commit message:
If the array's map is the initial FastHoley array map, and the array prototype
chain is undisturbed and empty of elements, then keyed loads can convert the
load of a hole to undefined.

BUG=

R=dstence@us.ibm.com, michael_dawson@ca.ibm.com

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

Cr-Commit-Position: refs/heads/master@{#28089}
src/ppc/lithium-codegen-ppc.cc
src/ppc/lithium-ppc.cc