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

Unified Diff: src/compiler/graph.cc

Issue 767733002: De-generify the GenericGraph. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased again. 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 | « src/compiler/graph.h ('k') | src/compiler/graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph.cc
diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc
index 3c6d5a46167ad8bd8309b79a0605a4d51ae8331a..6533d57ffec49e429f6f7aa6b62291c23b134835 100644
--- a/src/compiler/graph.cc
+++ b/src/compiler/graph.cc
@@ -20,7 +20,12 @@ namespace internal {
namespace compiler {
Graph::Graph(Zone* zone)
- : GenericGraph<Node>(zone), mark_max_(0), decorators_(zone) {}
+ : zone_(zone),
+ start_(NULL),
+ end_(NULL),
+ mark_max_(0),
+ next_node_id_(0),
+ decorators_(zone) {}
void Graph::Decorate(Node* node) {
« no previous file with comments | « src/compiler/graph.h ('k') | src/compiler/graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698