| Index: src/rewriter.cc
|
| diff --git a/src/rewriter.cc b/src/rewriter.cc
|
| index c81950e8ed6b2f597a0bc4a2b0ad265962c7c48b..9a5a8709b2b2f078a619d35c6f60fa7570cdc37a 100644
|
| --- a/src/rewriter.cc
|
| +++ b/src/rewriter.cc
|
| @@ -4,10 +4,9 @@
|
|
|
| #include "src/v8.h"
|
|
|
| -#include "src/rewriter.h"
|
| -
|
| #include "src/ast.h"
|
| -#include "src/compiler.h"
|
| +#include "src/parser.h"
|
| +#include "src/rewriter.h"
|
| #include "src/scopes.h"
|
|
|
| namespace v8 {
|
| @@ -222,7 +221,7 @@ EXPRESSION_NODE_LIST(DEF_VISIT)
|
|
|
| // Assumes code has been parsed. Mutates the AST, so the AST should not
|
| // continue to be used in the case of failure.
|
| -bool Rewriter::Rewrite(CompilationInfo* info) {
|
| +bool Rewriter::Rewrite(ParseInfo* info) {
|
| FunctionLiteral* function = info->function();
|
| DCHECK(function != NULL);
|
| Scope* scope = function->scope();
|
|
|