Remove unneeded variable usage analysis.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Mar 2010 13:01:24 +0000 (13:01 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 8 Mar 2010 13:01:24 +0000 (13:01 +0000)
commitbce8d2ebae70104f7a3ade672ef2ca4968a1f620
tree44f234cb3292c2f944bb07783f247da83069365b
parent8528d650d8a21ba4a20c2fa6838d0ce9cae3e0a5
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.

Review URL: http://codereview.chromium.org/669270

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4052 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
16 files changed:
src/SConscript
src/ast.cc
src/ast.h
src/compiler.cc
src/flag-definitions.h
src/parser.cc
src/scopeinfo.cc
src/scopes.cc
src/usage-analyzer.cc [deleted file]
src/usage-analyzer.h [deleted file]
src/variables.cc
src/variables.h
tools/gyp/v8.gyp
tools/visual_studio/v8_base.vcproj
tools/visual_studio/v8_base_arm.vcproj
tools/visual_studio/v8_base_x64.vcproj