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

Unified Diff: src/compiler/generic-graph.h

Issue 652263002: Make visualizer robust to graphs with NULL inputs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use a queue. Created 6 years, 1 month 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 | « no previous file | src/compiler/graph-visualizer.cc » ('j') | test/cctest/compiler/test-graph-visualizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « no previous file | src/compiler/graph-visualizer.cc » ('j') | test/cctest/compiler/test-graph-visualizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698