| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 7258c746bfb8ad3d51452e9b6db6d353b1aeea75..beaff831a6c27721b074ede9348824c06d12f3a0 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -363,15 +363,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());
|
| }
|
|
|
|
|