Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 9b5249db64af8deb3cd2c841edf2f76203b03e3c..1c890f2c31176159a6682f14ff209fbb63201f93 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1202,6 +1202,7 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
result_saved = true; |
} |
switch (property->kind()) { |
+ case ObjectLiteral::Property::SPREAD: |
case ObjectLiteral::Property::CONSTANT: |
UNREACHABLE(); |
case ObjectLiteral::Property::MATERIALIZED_LITERAL: |