[stubs] Properly handle read-only properties in StoreGlobalViaContextStub.
authorbmeurer <bmeurer@chromium.org>
Mon, 27 Jul 2015 18:45:26 +0000 (11:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Jul 2015 18:45:36 +0000 (18:45 +0000)
commitcac64b9f634743f7f5311d4dca8d50157b10fab5
tree4317b76e3168998600e96e4eb2290f33f2adc971
parentee70ad1be724fd5b513fef292e468ef7acae72f4
[stubs] Properly handle read-only properties in StoreGlobalViaContextStub.

We don't need the hole check and slow runtime mode for read-only
properties this way.

R=ishell@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29881}
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/ia32/code-stubs-ia32.cc
src/mips/code-stubs-mips.cc
src/mips64/code-stubs-mips64.cc
src/objects.cc
src/property-details.h
src/runtime/runtime-object.cc
src/x64/code-stubs-x64.cc
test/mjsunit/regress/cross-script-vars.js