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

Unified Diff: src/compiler/loop-peeling.h

Issue 2143163002: [turbofan] Loop peeling with explicit loop exits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix test Created 4 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 | « src/compiler/loop-analysis.cc ('k') | src/compiler/loop-peeling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/loop-peeling.h
diff --git a/src/compiler/loop-peeling.h b/src/compiler/loop-peeling.h
index 3ee20743bd227e6978fde537cd15e5fcc33a842d..8b38e2575c9091b0aa65026664a0e4bccebbe871 100644
--- a/src/compiler/loop-peeling.h
+++ b/src/compiler/loop-peeling.h
@@ -33,7 +33,11 @@ class LoopPeeler {
static PeeledIteration* Peel(Graph* graph, CommonOperatorBuilder* common,
LoopTree* loop_tree, LoopTree::Loop* loop,
Zone* tmp_zone);
+ static void PeelInnerLoopsOfTree(Graph* graph, CommonOperatorBuilder* common,
+ LoopTree* loop_tree, Zone* tmp_zone);
+
static void EliminateLoopExits(Graph* graph, Zone* temp_zone);
+ static const size_t kMaxPeeledNodes = 1000;
};
« no previous file with comments | « src/compiler/loop-analysis.cc ('k') | src/compiler/loop-peeling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698