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

Unified Diff: src/crankshaft/hydrogen.cc

Issue 2476423003: [crankshaft] FIx for in deopt at the end of the loop. (Closed)
Patch Set: Also check warm-up Created 4 years, 1 month 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 | « src/ast/ast.h ('k') | test/mjsunit/regress/regress-662904.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen.cc
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
index 4cdf74782e26fe4743be78491bcb9840e34b8ad1..84544033cbb4333c1416793c7d408f4d5c13cbb5 100644
--- a/src/crankshaft/hydrogen.cc
+++ b/src/crankshaft/hydrogen.cc
@@ -5045,7 +5045,7 @@ void HOptimizedGraphBuilder::BuildForInBody(ForInStatement* stmt,
}
HBasicBlock* body_exit = JoinContinue(
- stmt, stmt->ContinueId(), current_block(), break_info.continue_block());
+ stmt, stmt->IncrementId(), current_block(), break_info.continue_block());
if (body_exit != NULL) {
set_current_block(body_exit);
« no previous file with comments | « src/ast/ast.h ('k') | test/mjsunit/regress/regress-662904.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698