| Index: src/scopes.h | 
| diff --git a/src/scopes.h b/src/scopes.h | 
| index 9f913450abd9f7f8622ef1b85082bd4c3e43a15b..f9354188bf31e99858e2da0c0696eb5cd049c9da 100644 | 
| --- a/src/scopes.h | 
| +++ b/src/scopes.h | 
| @@ -119,6 +119,9 @@ class Scope: public ZoneObject { | 
| // outer scope. Only possible for function scopes; at most one variable. | 
| void DeclareFunctionVar(VariableDeclaration* declaration) { | 
| DCHECK(is_function_scope()); | 
| +    // Handle implicit declaration of the function name in named function | 
| +    // expressions before other declarations. | 
| +    decls_.InsertAt(0, declaration, zone()); | 
| function_ = declaration; | 
| } | 
|  | 
|  |