diff options
Diffstat (limited to 'deps/v8/src/compiler/bytecode-graph-builder.h')
-rw-r--r-- | deps/v8/src/compiler/bytecode-graph-builder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/bytecode-graph-builder.h b/deps/v8/src/compiler/bytecode-graph-builder.h index 94fbd5099f..562c3ddaea 100644 --- a/deps/v8/src/compiler/bytecode-graph-builder.h +++ b/deps/v8/src/compiler/bytecode-graph-builder.h @@ -171,6 +171,7 @@ class BytecodeGraphBuilder { std::initializer_list<Node*> args, int slot_id) { BuildCall(receiver_mode, args.begin(), args.size(), slot_id); } + void BuildUnaryOp(const Operator* op); void BuildBinaryOp(const Operator* op); void BuildBinaryOpWithImmediate(const Operator* op); void BuildCompareOp(const Operator* op); @@ -183,6 +184,8 @@ class BytecodeGraphBuilder { // Optional early lowering to the simplified operator level. Note that // the result has already been wired into the environment just like // any other invocation of {NewNode} would do. + JSTypeHintLowering::LoweringResult TryBuildSimplifiedUnaryOp( + const Operator* op, Node* operand, FeedbackSlot slot); JSTypeHintLowering::LoweringResult TryBuildSimplifiedBinaryOp( const Operator* op, Node* left, Node* right, FeedbackSlot slot); JSTypeHintLowering::LoweringResult TryBuildSimplifiedForInNext( |