Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 0c0e535329b3b7d306b86e7a9e70cb63cf39b10c..6983a7bae46c90ba8dfff2ff73858be880d0dd49 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -424,6 +424,8 @@ bool ObjectLiteral::Property::emit_store() const { return emit_store_; } |
void ObjectLiteral::AssignFeedbackVectorSlots(FeedbackVectorSpec* spec, |
FeedbackVectorSlotCache* cache) { |
+ MaterializedLiteral::AssignFeedbackVectorSlots(spec, cache); |
+ |
// This logic that computes the number of slots needed for vector store |
// ics must mirror FullCodeGenerator::VisitObjectLiteral. |
int property_index = 0; |
@@ -773,6 +775,8 @@ bool ArrayLiteral::IsFastCloningSupported() const { |
void ArrayLiteral::AssignFeedbackVectorSlots(FeedbackVectorSpec* spec, |
FeedbackVectorSlotCache* cache) { |
+ MaterializedLiteral::AssignFeedbackVectorSlots(spec, cache); |
+ |
// This logic that computes the number of slots needed for vector store |
// ics must mirror FullCodeGenerator::VisitArrayLiteral. |
for (int array_index = 0; array_index < values()->length(); array_index++) { |