X87: Only dynamically perform access checks on the receiver if it's a JSGlobalProxy.
authorcdai2 <chunyang.dai@intel.com>
Fri, 27 Feb 2015 07:31:45 +0000 (15:31 +0800)
committercdai2 <chunyang.dai@intel.com>
Fri, 27 Feb 2015 07:32:20 +0000 (07:32 +0000)
commit852792048cdb457ae987fb56dd673184e7af520a
tree94b52c412a066a46e36de41f2a344caf3bb32024
parente1030fc97dd7e6eb8e096b8f845a68c7648023d7
X87: Only dynamically perform access checks on the receiver if it's a JSGlobalProxy.

port e9cdcb71743200e7dd18b0be62f764aa53729c63 (r26875)

original commit message:
  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=
R=weiliang.lin@intel.com

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

Cr-Commit-Position: refs/heads/master@{#26905}
src/ic/x87/handler-compiler-x87.cc