Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 75a911ea54ec3703bb4941532945f8169f7ddf92..c069432bbda78b8cc4af18fe381e0f3a5ae3002d 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -408,6 +408,7 @@ void ObjectLiteral::AssignFeedbackVectorSlots(Isolate* isolate, |
Literal* key = property->key()->AsLiteral(); |
Expression* value = property->value(); |
switch (property->kind()) { |
+ case ObjectLiteral::Property::SPREAD: |
case ObjectLiteral::Property::CONSTANT: |
UNREACHABLE(); |
case ObjectLiteral::Property::MATERIALIZED_LITERAL: |