Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 9d048cd9c0a5773da6d426fa7bf70201c2c55ff7..b36e1ff7e1d0d2c4249bd9a6b96a2fc20d03b9ed 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -463,6 +463,7 @@ void AstNumberingVisitor::VisitClassLiteral(ClassLiteral* node) { |
VisitObjectLiteralProperty(node->properties()->at(i)); |
} |
ReserveFeedbackSlots(node); |
+ node->LayoutFeedbackSlots(); |
} |
@@ -478,6 +479,7 @@ void AstNumberingVisitor::VisitObjectLiteral(ObjectLiteral* node) { |
// marked expressions, no store code will be is emitted. |
node->CalculateEmitStore(zone()); |
ReserveFeedbackSlots(node); |
+ node->LayoutFeedbackSlots(); |
} |