Reviewers: danno, Michael Starzinger,
Description:
Implement loop variable assignment analysis.
This analysis computes the set of variables that are assigned in each loop.
This
is useful to avoid creating redundant loop phis when building an SSA graph,
which just waste memory and require analysis to get rid of.
This CL implements an AST walk for the analysis and plugs the result into
the
TurboFan graph builder. I left this analysis under a flag for A/B testing
and
until sufficient unit tests can be developed.
[email protected],[email protected]
BUG=
Please review this at https://codereview.chromium.org/656123005/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+414, -17 lines):
M src/compiler/ast-graph-builder.h
M src/compiler/ast-graph-builder.cc
A src/compiler/ast-loop-assignment-analyzer.h
A src/compiler/ast-loop-assignment-analyzer.cc
M src/compiler/control-builders.h
M src/compiler/control-builders.cc
M src/compiler/graph-builder.h
M src/compiler/graph-builder.cc
M src/flag-definitions.h
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.