Index: src/compiler/graph.h |
diff --git a/src/compiler/graph.h b/src/compiler/graph.h |
index 1e861c7b151e1bc6c18d8caddb455f599006d154..6fb7cfa644ffc1ed51ceaf7f2caa353ab3cd2f3b 100644 |
--- a/src/compiler/graph.h |
+++ b/src/compiler/graph.h |
@@ -104,6 +104,59 @@ class V8_EXPORT_PRIVATE Graph final : public NON_EXPORTED_BASE(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, |
+ 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); |
+ } |
+ 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* n12) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12}; |
+ 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* n12, Node* n13) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13}; |
+ 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* n12, Node* n13, Node* n14) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, |
+ n8, n9, n10, n11, n12, n13, n14}; |
+ 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* n12, Node* n13, Node* n14, Node* n15) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, |
+ n9, n10, n11, n12, n13, n14, n15}; |
+ 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* n12, Node* n13, Node* n14, Node* n15, |
+ Node* n16) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, |
+ n9, n10, n11, n12, n13, n14, n15, n16}; |
+ 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* n12, Node* n13, Node* n14, Node* n15, |
+ Node* n16, Node* n17) { |
+ Node* nodes[] = {n1, n2, n3, n4, n5, n6, n7, n8, n9, |
+ n10, n11, n12, n13, n14, n15, n16, n17}; |
+ return NewNode(op, arraysize(nodes), nodes); |
+ } |
// Clone the {node}, and assign a new node id to the copy. |
Node* CloneNode(const Node* node); |