| Index: src/compiler/node-properties.h
|
| diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
|
| index 4fa160da36cb4a0caf68f9f2c6ce17641600b598..44f9b7974c8936fc6ddfe5729182ea65976e4f34 100644
|
| --- a/src/compiler/node-properties.h
|
| +++ b/src/compiler/node-properties.h
|
| @@ -94,6 +94,10 @@ class NodeProperties final {
|
| static void ReplaceUses(Node* node, Node* value, Node* effect = nullptr,
|
| Node* success = nullptr, Node* exception = nullptr);
|
|
|
| + // Safe wrapper to mutate the operator of a node. Checks that the node is
|
| + // currently in a state that satisfies constraints of the new operator.
|
| + static void ChangeOp(Node* node, const Operator* new_op);
|
| +
|
| // ---------------------------------------------------------------------------
|
| // Miscellaneous utilities.
|
|
|
|
|