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

Unified Diff: src/compiler/generic-node.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-graph.h ('k') | src/compiler/generic-node-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/generic-node.h
diff --git a/src/compiler/generic-node.h b/src/compiler/generic-node.h
index 506a34fc1323d4250a5b6e2c841f626111b98677..b52492bc635cb47493553cb7439873195a6774e3 100644
--- a/src/compiler/generic-node.h
+++ b/src/compiler/generic-node.h
@@ -13,7 +13,7 @@ namespace v8 {
namespace internal {
namespace compiler {
-class GenericGraphBase;
+class Graph;
typedef int NodeId;
@@ -92,11 +92,11 @@ class GenericNode : public B {
bool OwnedBy(GenericNode* owner) const;
- static S* New(GenericGraphBase* graph, int input_count, S** inputs,
+ static S* New(Graph* graph, int input_count, S** inputs,
bool has_extensible_inputs);
protected:
- friend class GenericGraphBase;
+ friend class Graph;
class Use : public ZoneObject {
public:
@@ -129,11 +129,10 @@ class GenericNode : public B {
void* operator new(size_t, void* location) { return location; }
- GenericNode(GenericGraphBase* graph, int input_count,
- int reserved_input_count);
+ GenericNode(Graph* graph, int input_count, int reserved_input_count);
private:
- void AssignUniqueID(GenericGraphBase* graph);
+ void AssignUniqueID(Graph* graph);
typedef ZoneDeque<Input> InputDeque;
« no previous file with comments | « src/compiler/generic-graph.h ('k') | src/compiler/generic-node-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698