Reviewers: Søren Gjesse,
Description:
Prevent inline constructor generation when duplicate properties are present
in
the constructor.
Currenly the constructor like this:
function f() {
this.a = 0;
this.a = 1;
this.a = 2;
}
creates a map with duplicate desciptors which is bad in many ways.
Please review this at http://codereview.chromium.org/3434004/show
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/heap.cc
M src/objects.h
M src/objects.cc
A test/mjsunit/this-property-assignment.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev