Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index d1cfb8eaf318c281bb249d03c731567f349d6ff8..60a86fb895231a70ccb2c4c7ed8313a2d0e1667a 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5447,6 +5447,14 @@ void HOptimizedGraphBuilder::VisitForInStatement(ForInStatement* stmt) { |
} |
+void HOptimizedGraphBuilder::VisitForOfStatement(ForOfStatement* stmt) { |
+ ASSERT(!HasStackOverflow()); |
+ ASSERT(current_block() != NULL); |
+ ASSERT(current_block()->HasPredecessor()); |
+ return Bailout("ForOfStatement"); |
+} |
+ |
+ |
void HOptimizedGraphBuilder::VisitTryCatchStatement(TryCatchStatement* stmt) { |
ASSERT(!HasStackOverflow()); |
ASSERT(current_block() != NULL); |