Reviewers: Kevin Millikin,

Message:
This first change is just the new data flow pass. Allocating
registers will be a separate change.

Description:
Add last use data flow information to the fast code generator.

This change add simple local live variable information to
the fast code generator.  It supports only AST nodes that
are accepted by the syntax checker.

Each variable use points to a variable definition structure
which contains the last use of the definition.

To determine whether a variable is live after a certain point
we can check whether its last use occurs later in the evaluation
order defined by the AST labeling number.

The new information is currently only printed out together with
the IR and not yet used for code generation.


Please review this at http://codereview.chromium.org/603004

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/ast.h
  M     src/data-flow.h
  M     src/data-flow.cc
  M     src/fast-codegen.cc
  A     test/mjsunit/compiler/simple-binary-op.js


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to