Index: src/rewriter.cc |
=================================================================== |
--- src/rewriter.cc (revision 854) |
+++ src/rewriter.cc (working copy) |
@@ -34,7 +34,7 @@ |
namespace v8 { namespace internal { |
-class AstOptimizer: public Visitor { |
+class AstOptimizer: public AstVisitor { |
public: |
explicit AstOptimizer() { |
} |
@@ -344,6 +344,12 @@ |
} |
+void AstOptimizer::VisitCallEval(CallEval* node) { |
+ Visit(node->expression()); |
+ OptimizeArguments(node->arguments()); |
+} |
+ |
+ |
void AstOptimizer::VisitCallNew(CallNew* node) { |
Visit(node->expression()); |
OptimizeArguments(node->arguments()); |
@@ -469,7 +475,7 @@ |
} |
-class Processor: public Visitor { |
+class Processor: public AstVisitor { |
public: |
explicit Processor(VariableProxy* result) |
: result_(result), |
@@ -702,6 +708,12 @@ |
} |
+void Processor::VisitCallEval(CallEval* node) { |
+ USE(node); |
+ UNREACHABLE(); |
+} |
+ |
+ |
void Processor::VisitCallNew(CallNew* node) { |
USE(node); |
UNREACHABLE(); |