| Index: src/hydrogen.cc
|
| ===================================================================
|
| --- src/hydrogen.cc (revision 9206)
|
| +++ src/hydrogen.cc (working copy)
|
| @@ -2443,6 +2443,14 @@
|
| graph()->SetArgumentsObject(object);
|
| environment()->Bind(scope->arguments(), object);
|
| }
|
| + // Handle implicit declaration of the function name in named function
|
| + // expressions before other declarations.
|
| + if (scope->is_function_scope() && scope->function() != NULL) {
|
| + if (!scope->function()->IsStackAllocated()) {
|
| + return Bailout("unsupported declaration");
|
| + }
|
| + environment()->Bind(scope->function(), graph()->GetConstantHole());
|
| + }
|
| }
|
|
|
|
|
|
|