Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 7338cc6724219678852d5a90c40155b5a62e53ad..9d048cd9c0a5773da6d426fa7bf70201c2c55ff7 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -558,7 +558,7 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) { |
Scope* scope = node->scope(); |
if (scope->HasIllegalRedeclaration()) { |
- scope->VisitIllegalRedeclaration(this); |
+ Visit(scope->GetIllegalRedeclaration()); |
DisableOptimization(kFunctionWithIllegalRedeclaration); |
return Finish(node); |
} |