Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 41fcd71a4e0110de2e046f4000518b4a0833dc70..ce6bdbef2dbd1692a420ee35767b4ede43da357f 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.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. |