Index: src/ppc/full-codegen-ppc.cc |
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc |
index 5de6823d3f0eb290260b77666350e0931c5daf9e..44fe92af7764eca77836eaf10cb87936e3c0a16e 100644 |
--- a/src/ppc/full-codegen-ppc.cc |
+++ b/src/ppc/full-codegen-ppc.cc |
@@ -357,15 +357,6 @@ void FullCodeGenerator::Generate() { |
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()); |
} |