v8/test
sgjesse@chromium.org 10910394e6 Handle insertion order for simple constructors
When functions only have simple assignments of the form this.x = ... the object is created in generated code without actually calling the constructor. In this case the initial map for the function already contains the properties assigned in the constructor. The field descriptors in this initial map now has an enumeration index assigned to make property enumeration order the insertion order. The insertion order here is the order of the this.x assignments in the code.

BUG=http://crbug.com/3867
TEST=test/mjsunit/regress/regress-crbug-3867.js

Review URL: http://codereview.chromium.org/566016

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-02-02 13:33:29 +00:00
..
cctest Port caching of lookup followups for interceptors to ARM 2010-02-02 11:32:17 +00:00
es5conform Added ES5 conform tests for getOwnPropertyNames. 2010-01-19 08:23:29 +00:00
message X64: Implement debugger hooks. 2009-08-19 10:18:30 +00:00
mjsunit Handle insertion order for simple constructors 2010-02-02 13:33:29 +00:00
mozilla Sort tests to increase predictability of mozilla test runs 2009-11-04 16:55:24 +00:00
sputnik Updated sputnik test expectations to match changes in tests. 2009-11-12 13:01:03 +00:00