Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 6f9371a061f6ffac5812926b5fb0ba71dc37f436..d6e1ceba30c4dc733404a6a102f425612cae2ae7 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -584,11 +584,6 @@ void AstGraphBuilder::CreateGraphBody(bool stack_check) { |
return; |
} |
- // Visit implicit declaration of the function name. |
- if (scope->is_function_scope() && scope->function() != NULL) { |
- VisitVariableDeclaration(scope->function()); |
- } |
- |
// Visit declarations within the function scope. |
VisitDeclarations(scope->declarations()); |