Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 72a56762cbe7dfaad3f9face80438e704ced3ad6..ab73f540bc413c4c88dc3c66bb3708488ebce526 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -6069,9 +6069,7 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) { |
for (int i = 0; i < length; i++) { |
Expression* subexpr = subexprs->at(i); |
- if (subexpr->IsSpread()) { |
- return Bailout(kSpread); |
- } |
+ DCHECK(!subexpr->IsSpread()); |
// If the subexpression is a literal or a simple materialized literal it |
// is already set in the cloned array. |