Refactor 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 Review URL: http://codereview.chromium.org/619006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3893 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment