Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 56980266af249194862def6a90b425c7364003b7..94f0d578b73d2698118bcf158a7c8f6d2e24001f 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4357,11 +4357,6 @@ bool HOptimizedGraphBuilder::BuildGraph() { |
body_entry->SetJoinId(BailoutId::FunctionEntry()); |
set_current_block(body_entry); |
- // Handle implicit declaration of the function name in named function |
- // expressions before other declarations. |
- if (scope->is_function_scope() && scope->function() != NULL) { |
- VisitVariableDeclaration(scope->function()); |
- } |
VisitDeclarations(scope->declarations()); |
Add<HSimulate>(BailoutId::Declarations()); |