Index: src/compiler/schedule.h |
diff --git a/src/compiler/schedule.h b/src/compiler/schedule.h |
index aa479851f943107c873ddf6187ddf5af2752b007..d4d64533b5086de9350e79b00286bb2238bc684a 100644 |
--- a/src/compiler/schedule.h |
+++ b/src/compiler/schedule.h |
@@ -106,6 +106,9 @@ class BasicBlock FINAL : public ZoneObject { |
Node* NodeAt(size_t index) { return nodes_[index]; } |
size_t NodeCount() const { return nodes_.size(); } |
+ value_type& front() { return nodes_.front(); } |
+ value_type const& front() const { return nodes_.front(); } |
+ |
typedef NodeVector::iterator iterator; |
iterator begin() { return nodes_.begin(); } |
iterator end() { return nodes_.end(); } |