DescriptionPrevent 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.
Committed: http://code.google.com/p/v8/source/detail?r=5476
Patch Set 1 #
Total comments: 2
Messages
Total messages: 4 (0 generated)
|