Implementing __defineSetter__ and __defineGetter__ with an array index as argument...
authorolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Mar 2009 11:40:09 +0000 (11:40 +0000)
committerolehougaard <olehougaard@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Mar 2009 11:40:09 +0000 (11:40 +0000)
commit74722e199ff4b68e4dc0d8db946af070a1173bfc
tree871fc2f7038633cda8a94631686b7da44eaba5e3
parente2af4529c3a5a31eaf21240ffc6fce42f0af2d3b
Implementing __defineSetter__ and __defineGetter__ with an array index as argument as described in issue 242. For performance reasons, the change is not applied to arrays. This conforms to the behavior of Safari.
Review URL: http://codereview.chromium.org/46030

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1507 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects-inl.h
src/objects.cc
src/objects.h
test/mjsunit/indexed-accessors.js [new file with mode: 0644]