Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index e870e90806232fc98870f600a8bf86a9454d0700..48be595db3c892cb82990850c9265ef9b6144269 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -29,9 +29,7 @@ class Processor: public AstVisitor { |
void Process(ZoneList<Statement*>* statements); |
bool result_assigned() const { return result_assigned_; } |
- AstNodeFactory<AstNullVisitor>* factory() { |
- return &factory_; |
- } |
+ AstNodeFactory* factory() { return &factory_; } |
private: |
Variable* result_; |
@@ -49,7 +47,7 @@ class Processor: public AstVisitor { |
bool is_set_; |
bool in_try_; |
- AstNodeFactory<AstNullVisitor> factory_; |
+ AstNodeFactory factory_; |
Expression* SetResult(Expression* value) { |
result_assigned_ = true; |