Chromium Code Reviews| Index: src/scopes.cc |
| diff --git a/src/scopes.cc b/src/scopes.cc |
| index 4bb9aa8f9ce73109f69b9a1a1547dd373b096e22..ba2efb2bcc9e1d7c742780f0f9d586b81a70c6f8 100644 |
| --- a/src/scopes.cc |
| +++ b/src/scopes.cc |
| @@ -559,9 +559,9 @@ void Scope::SetIllegalRedeclaration(Expression* expression) { |
| } |
| -void Scope::VisitIllegalRedeclaration(AstVisitor* visitor) { |
| +Expression* Scope::GetIllegalRedeclaration() { |
| DCHECK(HasIllegalRedeclaration()); |
| - illegal_redecl_->Accept(visitor); |
| + return illegal_redecl_; |
| } |