Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 83205a51afbaeae15cda10a340d3ed8b2e2703d6..679dd48f92f3ac78fea4f9fabdb6fef496b2b904 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1283,7 +1283,9 @@ void AstGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) { |
// Create node to instantiate a new closure. |
PretenureFlag pretenure = expr->pretenure() ? TENURED : NOT_TENURED; |
- const Operator* op = javascript()->CreateClosure(shared_info, pretenure); |
+ VectorSlotPair pair = CreateVectorSlotPair(expr->LiteralFeedbackSlot()); |
+ const Operator* op = |
+ javascript()->CreateClosure(shared_info, pair, pretenure); |
Node* value = NewNode(op); |
ast_context()->ProduceValue(expr, value); |
} |