Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index d2c95796b4e8dccc770bac5238b8af4e32f395df..0db853bfc3d59e8661399c8430fe1927ef8bd15b 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -702,7 +702,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: |
@@ -726,12 +725,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. |