Index: src/mips64/full-codegen-mips64.cc |
diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc |
index 95fc92669bfdcfaab40a52fb01512307319b45fc..94a67b51854b42bfce2a5d210311c9f07389fedc 100644 |
--- a/src/mips64/full-codegen-mips64.cc |
+++ b/src/mips64/full-codegen-mips64.cc |
@@ -358,15 +358,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()); |
} |
{ Comment cmnt(masm_, "[ Stack check"); |