• svenpanne@chromium.org's avatar
    Refactored iterative map traversal. · e2af8fd6
    svenpanne@chromium.org authored
    The main goal is to cleanly separate between the several parts involved in the traversal:
    
     * iterating over all transitions in a descriptor array
    
     * iterating over all prototype transitions
    
     * storing the parent and the current local traversal position in a map
    
     * the iterative traversal algorithm itself
    
    The previous algorithm for iterating over prototype transitions did a little bit too much here, iterating over the whole array instead only the filled part. This has been fixed on the way, too.
    
    With this CL, it will be much easier to make the necessary changes to the descriptor array iterator to correctly handle map transitions for accessor properties. Furthermore, perhaps we represent transitions a bit different in the future, making finding them a bit easier. This would make some code in this CL (and elsewhere) quite a bit shorter and more efficient.
    
    Review URL: https://chromiumcodereview.appspot.com/9252007
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10473 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    e2af8fd6
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
SConstruct Loading commit data...