| Index: src/arm64/full-codegen-arm64.cc
|
| diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc
|
| index 4b34f0309d754f453e154f53cb6dbe0d0f6160ac..388e06aec3694e0eab6510c30f4a8d9a921e7c98 100644
|
| --- a/src/arm64/full-codegen-arm64.cc
|
| +++ b/src/arm64/full-codegen-arm64.cc
|
| @@ -350,13 +350,6 @@ void FullCodeGenerator::Generate() {
|
| } else {
|
| PrepareForBailoutForId(BailoutId::FunctionEntry(), NO_REGISTERS);
|
| { Comment cmnt(masm_, "[ Declarations");
|
| - 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());
|
| }
|
|
|
|
|