Reviewers: Mads Ager, Kasper Lund,

Description:
Remove unneeded variable usage analysis.

A variable usage analysis pass was run on toplevel and lazily-compiled
code but never used.  Remove this pass and the data structures it
builds.

The representation of variable usage for Variables has been changed
from a struct containing a (weighted) count of reads and writes to a
simple flag.  VariableProxies are always used, as before.  The unused
"object uses" is removed.

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

Affected files:
  M src/SConscript
  M src/ast.h
  M src/ast.cc
  M src/compiler.cc
  M src/flag-definitions.h
  M src/parser.cc
  M src/scopeinfo.cc
  src/scopes.cc
  D src/usage-analyzer.h
  D src/usage-analyzer.cc
  M src/variables.h
  M src/variables.cc
  M tools/gyp/v8.gyp
  M tools/visual_studio/v8_base.vcproj
  M tools/visual_studio/v8_base_arm.vcproj
  M tools/visual_studio/v8_base_x64.vcproj


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

Reply via email to