d7a5b7d5e2
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 |
||
---|---|---|
.. | ||
gcmole | ||
gyp | ||
oom_dump | ||
v8.xcodeproj | ||
visual_studio | ||
android-run.py | ||
android-sync.sh | ||
bash-completion.sh | ||
check-static-initializers.sh | ||
codemap.js | ||
common-includes.sh | ||
consarray.js | ||
csvparser.js | ||
disasm.py | ||
freebsd-tick-processor | ||
fuzz-harness.sh | ||
gc-nvp-trace-processor.py | ||
gdb-v8-support.py | ||
gen-postmortem-metadata.py | ||
generate-ten-powers.scm | ||
grokdump.py | ||
js2c.py | ||
jsmin.py | ||
linux-tick-processor | ||
ll_prof.py | ||
logreader.js | ||
mac-nm | ||
mac-tick-processor | ||
merge-to-branch.sh | ||
presubmit.py | ||
process-heap-prof.py | ||
profile_view.js | ||
profile.js | ||
push-to-trunk.sh | ||
run-valgrind.py | ||
splaytree.js | ||
stats-viewer.py | ||
test-wrapper-gypbuild.py | ||
test.py | ||
tickprocessor-driver.js | ||
tickprocessor.js | ||
utils.py | ||
windows-tick-processor.bat |