Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 2f10328f0978d70363e4809cc343613a02da5b57..3e811ca49c649035659c364ed7bb58b57ce00bed 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -36,11 +36,6 @@ void AstTyper::Run(CompilationInfo* info) { |
AstTyper* visitor = new(info->zone()) AstTyper(info); |
Scope* scope = info->scope(); |
- // Handle implicit declaration of the function name in named function |
- // expressions before other declarations. |
- if (scope->is_function_scope() && scope->function() != NULL) { |
- RECURSE(visitor->VisitVariableDeclaration(scope->function())); |
- } |
RECURSE(visitor->VisitDeclarations(scope->declarations())); |
RECURSE(visitor->VisitStatements(info->function()->body())); |
} |