Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 70db6114a288bcbb799ccb2d8c3941b265afc015..0b91f544689ef60efe1dc5eb772bbd6fbb15ed67 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -242,7 +242,10 @@ void BreakableStatementChecker::VisitCountOperation(CountOperation* expr) { |
void BreakableStatementChecker::VisitBinaryOperation(BinaryOperation* expr) { |
Visit(expr->left()); |
- Visit(expr->right()); |
+ if (expr->op() != Token::AND && |
+ expr->op() != Token::OR) { |
+ Visit(expr->right()); |
+ } |
} |