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

Unified Diff: src/compiler/generic-node-inl.h

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/generic-node.h ('k') | src/compiler/graph.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/generic-node-inl.h
diff --git a/src/compiler/generic-node-inl.h b/src/compiler/generic-node-inl.h
index afbd1f0ebf2067eb35cb370c16a7b7f5eefe2aa5..97978b8ad18eb3a0b920cb9076bf2ae2cf15a88e 100644
--- a/src/compiler/generic-node-inl.h
+++ b/src/compiler/generic-node-inl.h
@@ -7,8 +7,8 @@
#include "src/v8.h"
-#include "src/compiler/generic-graph.h"
#include "src/compiler/generic-node.h"
+#include "src/compiler/graph.h"
#include "src/zone.h"
namespace v8 {
@@ -16,7 +16,7 @@ namespace internal {
namespace compiler {
template <class B, class S>
-GenericNode<B, S>::GenericNode(GenericGraphBase* graph, int input_count,
+GenericNode<B, S>::GenericNode(Graph* graph, int input_count,
int reserve_input_count)
: BaseClass(graph->zone()),
input_count_(input_count),
@@ -31,7 +31,7 @@ GenericNode<B, S>::GenericNode(GenericGraphBase* graph, int input_count,
}
template <class B, class S>
-inline void GenericNode<B, S>::AssignUniqueID(GenericGraphBase* graph) {
+inline void GenericNode<B, S>::AssignUniqueID(Graph* graph) {
id_ = graph->NextNodeID();
}
@@ -233,7 +233,7 @@ inline bool GenericNode<B, S>::OwnedBy(GenericNode* owner) const {
}
template <class B, class S>
-S* GenericNode<B, S>::New(GenericGraphBase* graph, int input_count, S** inputs,
+S* GenericNode<B, S>::New(Graph* graph, int input_count, S** inputs,
bool has_extensible_inputs) {
size_t node_size = sizeof(GenericNode);
int reserve_input_count = has_extensible_inputs ? kDefaultReservedInputs : 0;
« no previous file with comments | « src/compiler/generic-node.h ('k') | src/compiler/graph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698