Go to file
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 More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Make MACOSX_DEPLOYMENT_TARGET configurable. 2012-07-02 14:58:43 +00:00
include Further extend TypedArray support in d8: 2012-06-28 16:29:53 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
src Separating transitions from descriptors. 2012-07-05 13:54:20 +00:00
test Separating transitions from descriptors. 2012-07-05 13:54:20 +00:00
tools Separating transitions from descriptors. 2012-07-05 13:54:20 +00:00
.gitignore Fix .gitignore for test data directories. 2012-02-20 13:17:20 +00:00
AUTHORS Add support for Mac OS X 64bit builds with GYP 2012-03-30 15:01:11 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.12.9. 2012-07-05 08:21:28 +00:00
DEPS Prepare for using GYP build on buildbots 2012-05-11 12:18:09 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Add Makefile targets for running tests on Android. 2012-07-03 07:45:58 +00:00
SConstruct Fix shared library build errors. 2012-05-18 11:15:14 +00:00