Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 9cfc8f77790dd09a3dcc121cc657cf1429c67b35..847022c7f65bd54b1af2668f7c0c2aecc3e9b2ad 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1380,6 +1380,7 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
Literal* key = property->key()->AsLiteral(); |
switch (property->kind()) { |
+ case ObjectLiteral::Property::SPREAD: |
case ObjectLiteral::Property::CONSTANT: |
UNREACHABLE(); |
case ObjectLiteral::Property::MATERIALIZED_LITERAL: |