Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 264166bf81c46d73cc8bf378c84a2e5fe6944b41..c455e164af275d2ede3a074d0d5029c1333985e0 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -933,7 +933,6 @@ void AstGraphBuilder::VisitVariableDeclaration(VariableDeclaration* decl) { |
DCHECK(!slot.IsInvalid()); |
globals()->push_back(handle(Smi::FromInt(slot.ToInt()), isolate())); |
globals()->push_back(isolate()->factory()->undefined_value()); |
- globals()->push_back(isolate()->factory()->undefined_value()); |
break; |
} |
case VariableLocation::PARAMETER: |
@@ -959,12 +958,6 @@ void AstGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) { |
FeedbackVectorSlot slot = decl->proxy()->VariableFeedbackSlot(); |
DCHECK(!slot.IsInvalid()); |
globals()->push_back(handle(Smi::FromInt(slot.ToInt()), isolate())); |
- |
- // We need the slot where the literals array lives, too. |
- slot = decl->fun()->LiteralFeedbackSlot(); |
- DCHECK(!slot.IsInvalid()); |
- globals()->push_back(handle(Smi::FromInt(slot.ToInt()), isolate())); |
- |
globals()->push_back(function); |
break; |
} |