| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index b89828bea0b737b723a9e22e26f59c269ba7fa1f..a26edc5391c07d31c84185b92f63d2f3dd57c26a 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -760,7 +760,6 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| DCHECK(!slot.IsInvalid());
|
| globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| globals_->Add(isolate()->factory()->undefined_value(), zone());
|
| - globals_->Add(isolate()->factory()->undefined_value(), zone());
|
| break;
|
| }
|
| case VariableLocation::PARAMETER:
|
| @@ -785,12 +784,6 @@ void FullCodeGenerator::VisitFunctionDeclaration(
|
| FeedbackVectorSlot slot = proxy->VariableFeedbackSlot();
|
| DCHECK(!slot.IsInvalid());
|
| globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| -
|
| - // We need the slot where the literals array lives, too.
|
| - slot = declaration->fun()->LiteralFeedbackSlot();
|
| - DCHECK(!slot.IsInvalid());
|
| - globals_->Add(handle(Smi::FromInt(slot.ToInt()), isolate()), zone());
|
| -
|
| Handle<SharedFunctionInfo> function =
|
| Compiler::GetSharedFunctionInfo(declaration->fun(), script(), info_);
|
| // Check for stack-overflow exception.
|
|
|