Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index 6994226dc3716bb29d058dad9454cb8128c02d72..324186d0de8088fc37a137c909bbd40efda74a9b 100644 |
--- a/src/compiler/bytecode-graph-builder.h |
+++ b/src/compiler/bytecode-graph-builder.h |
@@ -87,6 +87,12 @@ class BytecodeGraphBuilder { |
return MakeNode(op, arraysize(buffer), buffer, false); |
} |
+ Node* NewNode(const Operator* op, Node* n1, Node* n2, Node* n3, Node* n4, |
+ Node* n5) { |
+ Node* buffer[] = {n1, n2, n3, n4, n5}; |
+ return MakeNode(op, arraysize(buffer), buffer, false); |
+ } |
+ |
// Helpers to create new control nodes. |
Node* NewIfTrue() { return NewNode(common()->IfTrue()); } |
Node* NewIfFalse() { return NewNode(common()->IfFalse()); } |