Changing the attributes of a data property implemented with
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 28 May 2014 09:58:27 +0000 (09:58 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 28 May 2014 09:58:27 +0000 (09:58 +0000)
commit8c54a373dd8585f8ef07f5178b00190faa0dd06d
tree202638f1e80f9413002ef2d67a842e21a34b88ec
parentfd21e8f56f4ceeb6caa452730a9cd0279e9fc7d9
Changing the attributes of a data property implemented with
ExecutableAccessorInfo turns the property into a field. Better
to keep it as a callback, and correctly deal with the changed
property attributes.

R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/accessors.cc
src/accessors.h
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime.cc
test/cctest/test-api.cc
test/mjsunit/regress/regress-3334.js [new file with mode: 0644]