Index: src/compiler/generic-graph.h |
diff --git a/src/compiler/generic-graph.h b/src/compiler/generic-graph.h |
index a55545654535869d54e1c4c43bbb6a8a97c802c1..11f6aa28ecae72890c98c9b38c9d2e7625e3a8bc 100644 |
--- a/src/compiler/generic-graph.h |
+++ b/src/compiler/generic-graph.h |
@@ -34,8 +34,8 @@ class GenericGraph : public GenericGraphBase { |
explicit GenericGraph(Zone* zone) |
: GenericGraphBase(zone), start_(NULL), end_(NULL) {} |
- V* start() { return start_; } |
- V* end() { return end_; } |
+ V* start() const { return start_; } |
+ V* end() const { return end_; } |
void SetStart(V* start) { start_ = start; } |
void SetEnd(V* end) { end_ = end; } |