• rossberg@chromium.org's avatar
    Collect type feedback in separate pass and store it in AST · 6fda4e4c
    rossberg@chromium.org authored
    Notes:
    
    - For now, just adds the missing type info fields to the AST nodes directly.
      I'd like to factor that out more nicely in a follow-up CL.
    
    - All type feedback now is uniformly collected through AST nodes'
      RecordTypeFeedback functions. At some point, this logic should be moved
      out of ast.cc.
    
    - The typing pass currently simulates the exact same conditions under
      which feedback was collected in Hydrogen before. That also should be
      made more generic in the future.
    
    - Type information itself is unchanged. Making it more regular is
      yet more future work.
    
    Some additional cleanups:
    
    - Lifted out nested class ObjectLiteral::Property, to enable forward declaration.
    - Moved around some auxiliary enums.
    
    R=svenpanne@chromium.org
    BUG=
    
    Review URL: https://codereview.chromium.org/14990014
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    6fda4e4c
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...
DEPS 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...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...