Reviewers: Mads Ager,
Description:
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
Please review this at http://codereview.chromium.org/619006
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/heap.cc
M src/objects.h
M src/objects.cc
M src/runtime.cc
M test/cctest/test-api.cc
M test/mjsunit/setter-on-constructor-prototype.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev