Index: src/compiler/schedule.h |
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h |
index 7def37f44597279da04c7a6404803dc60b5d5c31..68686b52f5fceb687fb57793b192590480ab8edf 100644 |
--- a/src/compiler/schedule.h |
+++ b/src/compiler/schedule.h |
@@ -218,11 +218,12 @@ class Schedule FINAL : public ZoneObject { |
void AddSuccessor(BasicBlock* block, BasicBlock* succ); |
BasicBlockVector* rpo_order() { return &rpo_order_; } |
+ const BasicBlockVector* rpo_order() const { return &rpo_order_; } |
BasicBlock* start() { return start_; } |
BasicBlock* end() { return end_; } |
- Zone* zone() { return zone_; } |
+ Zone* zone() const { return zone_; } |
private: |
friend class Scheduler; |