-
sgjesse@chromium.org authored
Simple objects which are constructed without calling the actual constructor function did not take setters defined on prototype chain of the new object into account. Constructing objects this way is now not done if there are setters involved on the prototype chain of the new object. This only fixes the case where the setter is found when the first object from a constructor is created. If the prototype chain is changed new objects will on take any change to setters into account. TEST=test/mjsunit/setter-on-constructor-prototype.js Review URL: http://codereview.chromium.org/606062 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3879 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
1c2b2ac9