Index: src/rewriter.cc |
=================================================================== |
--- src/rewriter.cc (revision 5326) |
+++ src/rewriter.cc (working copy) |
@@ -34,7 +34,6 @@ |
namespace v8 { |
namespace internal { |
- |
class AstOptimizer: public AstVisitor { |
public: |
explicit AstOptimizer() : has_function_literal_(false) {} |
@@ -436,6 +435,11 @@ |
} |
+void AstOptimizer::VisitIncrementOperation(IncrementOperation* node) { |
+ UNREACHABLE(); |
+} |
+ |
+ |
void AstOptimizer::VisitCountOperation(CountOperation* node) { |
// Count operations assume that they work on Smis. |
node->expression()->set_no_negative_zero(node->is_prefix() ? |
@@ -947,6 +951,11 @@ |
} |
+void Processor::VisitIncrementOperation(IncrementOperation* node) { |
+ UNREACHABLE(); |
+} |
+ |
+ |
void Processor::VisitCountOperation(CountOperation* node) { |
USE(node); |
UNREACHABLE(); |