Only dynamically perform access checks on the receiver if it's a JSGlobalProxy. Proxi...
authorverwaest <verwaest@chromium.org>
Thu, 26 Feb 2015 11:06:28 +0000 (03:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 11:06:37 +0000 (11:06 +0000)
commite9cdcb71743200e7dd18b0be62f764aa53729c63
tree04846ab9f55847a123eb2fe9954b973b126160ce
parentb5fc4b808c8570764554478f3459b23f91a631a7
Only dynamically perform access checks on the receiver if it's a JSGlobalProxy. 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/958843002

Cr-Commit-Position: refs/heads/master@{#26875}
src/ic/arm/handler-compiler-arm.cc
src/ic/arm64/handler-compiler-arm64.cc
src/ic/ia32/handler-compiler-ia32.cc
src/ic/x64/handler-compiler-x64.cc