| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index c6b0048abc071126e0383e252fe28e78e9adbcf4..a10640f1911b40edc9c519f711b03d9c1aa8cdfd 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -616,12 +616,6 @@ void AstGraphBuilder::CreateGraphBody(bool stack_check) {
|
| NewNode(javascript()->CallRuntime(Runtime::kTraceEnter));
|
| }
|
|
|
| - // Visit illegal re-declaration and bail out if it exists.
|
| - if (scope->HasIllegalRedeclaration()) {
|
| - VisitForEffect(scope->GetIllegalRedeclaration());
|
| - return;
|
| - }
|
| -
|
| // Visit declarations within the function scope.
|
| VisitDeclarations(scope->declarations());
|
|
|
|
|