| Index: src/x87/full-codegen-x87.cc
|
| diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc
|
| index ab7bcd6cde1a0c44c43dff68fa358d52495591f8..1e6a88c97ec185b202ce1064b83681e797ae6251 100644
|
| --- a/src/x87/full-codegen-x87.cc
|
| +++ b/src/x87/full-codegen-x87.cc
|
| @@ -344,15 +344,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());
|
| }
|
|
|
|
|