Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 9cfc8f77790dd09a3dcc121cc657cf1429c67b35..4a5f492acce6d459e9dc40692f3da18c81a88570 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1292,7 +1292,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); |
} |