| Index: src/arm/full-codegen-arm.cc
|
| diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc
|
| index 32845ddb89d761dea699b6d0af499b8f1c9d28aa..d1a4faf326076908eb9a4ebe5483da701c6cea91 100644
|
| --- a/src/arm/full-codegen-arm.cc
|
| +++ b/src/arm/full-codegen-arm.cc
|
| @@ -345,15 +345,6 @@ void FullCodeGenerator::Generate() {
|
| } else {
|
| PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
|
| { Comment cmnt(masm_, "[ Declarations");
|
| - // For named function expressions, declare the function name as a
|
| - // constant.
|
| - if (scope()->is_function_scope() && scope()->function() != NULL) {
|
| - VariableDeclaration* function = scope()->function();
|
| - DCHECK(function->proxy()->var()->mode() == CONST ||
|
| - function->proxy()->var()->mode() == CONST_LEGACY);
|
| - DCHECK(!function->proxy()->var()->IsUnallocatedOrGlobalSlot());
|
| - VisitVariableDeclaration(function);
|
| - }
|
| VisitDeclarations(scope()->declarations());
|
| }
|
|
|
|
|