Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index b38d98c02e6478ec984dc760bf898d0ec73aaecf..17fb0afc05d181c1adbe03a7eaac486dabb436c2 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -5536,7 +5536,10 @@ void HOptimizedGraphBuilder::VisitNativeFunctionLiteral( |
void HOptimizedGraphBuilder::VisitDoExpression(DoExpression* expr) { |
- UNREACHABLE(); |
+ DCHECK(!HasStackOverflow()); |
+ DCHECK(current_block() != NULL); |
+ DCHECK(current_block()->HasPredecessor()); |
+ return Bailout(kDoExpression); |
} |