diff options
Diffstat (limited to 'deps/v8/src/compiler/bytecode-graph-builder.h')
-rw-r--r-- | deps/v8/src/compiler/bytecode-graph-builder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/bytecode-graph-builder.h b/deps/v8/src/compiler/bytecode-graph-builder.h index a94a3d79afe..57127142def 100644 --- a/deps/v8/src/compiler/bytecode-graph-builder.h +++ b/deps/v8/src/compiler/bytecode-graph-builder.h @@ -93,6 +93,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* n6) { + Node* buffer[] = {n1, n2, n3, n4, n5, n6}; + 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()); } @@ -178,7 +184,6 @@ class BytecodeGraphBuilder { void BuildBinaryOp(const Operator* op); void BuildBinaryOpWithImmediate(const Operator* op); void BuildCompareOp(const Operator* op); - void BuildTestingOp(const Operator* op); void BuildDelete(LanguageMode language_mode); void BuildCastOperator(const Operator* op); void BuildHoleCheckAndThrow(Node* condition, Runtime::FunctionId runtime_id, |