DescriptionRefactor the check for generating inline constructors
Moved all the logic to a function on SharedFunctionInfo (including the flag check) to make things more readable.
Changed the check for setter to do a lookup for a named setter for each of the properties assigned in the constructor.
Added tests using accessors and interseptors set through the API.
Added fast case objects to the mjsunit test.
TEST=test/mjsunit/setter-on-constructor-prototype.js
TEST=test/cctest/test-api/SetterOnConstructorPrototype
TEST=test/cctest/test-api/InterceptorOnConstructorPrototype
Committed: http://code.google.com/p/v8/source/detail?r=3893
Patch Set 1 #
Total comments: 6
Patch Set 2 : '' #
Total comments: 8
Messages
Total messages: 6 (0 generated)
|