Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: src/full-codegen.cc

Issue 7212027: Fix debug break on binary boolean operators (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Chenge test to work with --stress-opt Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-1523.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
+ }
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-1523.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698