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

Unified Diff: src/compiler/scheduler.h

Issue 474983003: Move some methods from OperatorProperties into Scheduler that are only related to scheduling. Now t… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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/operator-properties-inl.h ('k') | src/compiler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/scheduler.h
diff --git a/src/compiler/scheduler.h b/src/compiler/scheduler.h
index e2d5b549a0fa556ddee853d532628a24bca4ee01..b2964c8a9fcac61e266c8e5eaf1f3ecbd4f67415 100644
--- a/src/compiler/scheduler.h
+++ b/src/compiler/scheduler.h
@@ -44,6 +44,11 @@ class Scheduler {
Scheduler(Zone* zone, Graph* graph, Schedule* schedule);
+ bool IsBasicBlockBegin(Node* node);
+ bool CanBeScheduled(Node* node);
+ bool HasFixedSchedulePosition(Node* node);
+ bool IsScheduleRoot(Node* node);
+
int GetRPONumber(BasicBlock* block) {
DCHECK(block->rpo_number_ >= 0 &&
block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size()));
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | src/compiler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698