Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index be56c673b9ea8003bbac6fb15d28e5e5ae23156c..beb1c506321f2ce1d8c96dd104e542b46948d7ef 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2480,6 +2480,9 @@ void HGraphBuilder::VisitBlock(Block* stmt) { |
ASSERT(!HasStackOverflow()); |
ASSERT(current_block() != NULL); |
ASSERT(current_block()->HasPredecessor()); |
+ if (stmt->block_scope() != NULL) { |
+ return Bailout("ScopedBlock"); |
+ } |
BreakAndContinueInfo break_info(stmt); |
{ BreakAndContinueScope push(&break_info, this); |
CHECK_BAILOUT(VisitStatements(stmt->statements())); |