Index: src/compiler/js-context-specialization.cc |
diff --git a/src/compiler/js-context-specialization.cc b/src/compiler/js-context-specialization.cc |
index ed76f11fd59d18e912fb1ce78d5339e47d6ce875..8c4bb17f195a4d457fab68bd8ba2d7c770031e92 100644 |
--- a/src/compiler/js-context-specialization.cc |
+++ b/src/compiler/js-context-specialization.cc |
@@ -20,7 +20,7 @@ class ContextSpecializationVisitor : public NullNodeVisitor { |
explicit ContextSpecializationVisitor(JSContextSpecializer* spec) |
: spec_(spec) {} |
- GenericGraphVisit::Control Post(Node* node) { |
+ void Post(Node* node) { |
switch (node->opcode()) { |
case IrOpcode::kJSLoadContext: { |
Reduction r = spec_->ReduceJSLoadContext(node); |
@@ -41,7 +41,6 @@ class ContextSpecializationVisitor : public NullNodeVisitor { |
default: |
break; |
} |
- return GenericGraphVisit::CONTINUE; |
} |
private: |