v8/test
verwaest@chromium.org d7a5b7d5e2 Separating transitions from descriptors.
In this design maps contain descriptor arrays, which in turn can contain transition arrays. If transitions are needed when no descriptor array is present, a descriptor array without real descriptors is inserted just so it can point at the transition array.

The transition array does not contain details about the field it transitions to. In order to weed out transitions to FIELDs from CONSTANT_FUNCTION (what used to be MAP_TRANSITION vs CONSTANT_TRANSITION), the transition needs to be followed and the details need to be looked up in the target map. CALLBACKS transitions are still easy to recognize since the transition targets are stored as an AccessorPair containing the maps, rather than the maps directly.

Currently AccessorPairs containing a transition and an accessor are shared between the descriptor array and the transition array. This simplifies lookup since we only have to look in one of both arrays. This will change in subsequent revisions, when descriptor arrays will become shared between multiple maps, since transitions cannot be shared.

Review URL: https://chromiumcodereview.appspot.com/10697015

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-07-05 13:54:20 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest Separating transitions from descriptors. 2012-07-05 13:54:20 +00:00
es5conform MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
message Clean up some minor stuff in test expectation files 2012-06-11 12:24:00 +00:00
mjsunit Fix timout of packed-elements.js on ARM 2012-07-05 13:40:51 +00:00
mozilla Remove $FAST variable from mozilla.status. It was never set to true anyway. 2012-07-05 07:33:01 +00:00
preparser MIPS: updated test .status files based mostly on the ARM version. 2011-12-05 11:44:17 +00:00
sputnik Fix source property of empty RegExp objects. 2012-04-23 13:59:43 +00:00
test262 Cleanup Test262 expectations for simulators. 2012-07-05 12:44:44 +00:00