MIPS: Only dynamically perform access checks on the receiver if it's a JSGlobalProxy.
authorbalazs.kilvady <balazs.kilvady@imgtec.com>
Thu, 26 Feb 2015 18:39:30 +0000 (10:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 18:39:43 +0000 (18:39 +0000)
commitd471ceff41958d2e80ef5b44fe3a5514ddf36492
tree969c0c772b254d4eb85c3246b51a37154d08df06
parentbbf8c0f23d4995da2a9273e8aed818905f791167
MIPS: Only dynamically perform access checks on the receiver if it's a JSGlobalProxy.

Port e9cdcb71743200e7dd18b0be62f764aa53729c63

Original commit message:
Proxies up the chain are guaranteed to provide access if we had access to the receiver, since otherwise we wouldn't have been able to compile the stub in the first place. If the security check would change, the window navigates, changing the map of the JSGlobalProxy.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#26894}
src/ic/mips/handler-compiler-mips.cc
src/ic/mips64/handler-compiler-mips64.cc