Index: src/compiler/graph.h |
diff --git a/src/compiler/graph.h b/src/compiler/graph.h |
index cb073b312acafdc01933bbb6f113be18a714f1c4..aa1977084bebb59f86cced1929520efd3a826b1c 100644 |
--- a/src/compiler/graph.h |
+++ b/src/compiler/graph.h |
@@ -79,6 +79,17 @@ class Graph : public ZoneObject { |
Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9}; |
return NewNode(op, arraysize(nodes), nodes); |
} |
+ Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, |
titzer
2015/08/21 10:31:52
We've got too many overloads here already, can we
rmcilroy
2015/08/21 13:10:15
Done.
|
+ Node* n5, Node* n6, Node* n7, Node* n8, Node* n9, Node* n10) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9, n10}; |
+ return NewNode(op, arraysize(nodes), nodes); |
+ } |
+ Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, |
+ Node* n5, Node* n6, Node* n7, Node* n8, Node* n9, Node* n10, |
+ Node* n11) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11}; |
+ return NewNode(op, arraysize(nodes), nodes); |
+ } |
// Clone the {node}, and assign a new node id to the copy. |
Node* CloneNode(const Node* node); |