Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 0b5b5597d924606edfc50bd672e0960c69239292..f8e05f060c742c322fd1aa20c55f68d6dda2c9ac 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -723,7 +723,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: |
@@ -748,12 +747,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. |