Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 037edea218f72f7ba4cbe28f174292961ef82586..3132b9fc400ee98430f479f8fabc25c511be9a7a 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -281,8 +281,9 @@ void ClassLiteral::AssignFeedbackVectorSlots(Isolate* isolate, |
FeedbackVectorSlotCache* cache) { |
// This logic that computes the number of slots needed for vector store |
// ICs must mirror FullCodeGenerator::VisitClassLiteral. |
+ prototype_slot_ = spec->AddLoadICSlot(); |
if (NeedsProxySlot()) { |
- slot_ = spec->AddStoreICSlot(); |
+ proxy_slot_ = spec->AddStoreICSlot(); |
} |
for (int i = 0; i < properties()->length(); i++) { |