DescriptionCollect type feedback in separate pass and store it in AST
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=
Committed: http://code.google.com/p/v8/source/detail?r=14825
Patch Set 1 #Patch Set 2 : Fixed header file definism #
Total comments: 12
Patch Set 3 : Address comments #Patch Set 4 : Consistent check-alive #
Messages
Total messages: 5 (0 generated)
|