More refactoring of class Compiler's interface.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 4 Oct 2010 14:30:43 +0000 (14:30 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 4 Oct 2010 14:30:43 +0000 (14:30 +0000)
commitea910460bda4e18bcfb5c0e0075156e60548b7e5
treebd806599d14e71b62086a28ace3ae2da1d104e3f
parent2f54abf9741e84856da85541a9513700b2c5af74
More refactoring of class Compiler's interface.

Change more functions used by the Compiler class to have a uniform
interface: they get passed as argument an input/output pointer to a
CompilationInfo that they mutate if they succeed, and they return a
flag telling whether they succeeded.

Also, remove some unnecessary timers.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
22 files changed:
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/ast.h
src/codegen.cc
src/compiler.cc
src/compiler.h
src/data-flow.cc
src/data-flow.h
src/full-codegen.cc
src/full-codegen.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/liveedit.cc
src/objects.cc
src/objects.h
src/rewriter.cc
src/rewriter.h
src/scopes.cc
src/scopes.h
src/v8-counters.h
src/x64/codegen-x64.cc
src/x64/codegen-x64.h