Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 99d1cb8aeac2f2723df23971984be94308fafc17..f31b5d142ebc28772d6c4d03ec1f145d0f717194 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -424,6 +424,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: |