| Index: src/compiler/node-properties.cc
|
| diff --git a/src/compiler/node-properties.cc b/src/compiler/node-properties.cc
|
| index 8956915a2c5fd8085937d2f8b6e8914f05ed8844..9e665d10e992087229cfca18bcb96bd9ace8bad8 100644
|
| --- a/src/compiler/node-properties.cc
|
| +++ b/src/compiler/node-properties.cc
|
| @@ -119,6 +119,15 @@ bool NodeProperties::IsControlEdge(Edge edge) {
|
|
|
|
|
| // static
|
| +bool NodeProperties::IsExceptionalCall(Node* node) {
|
| + for (Node* const use : node->uses()) {
|
| + if (use->opcode() == IrOpcode::kIfException) return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +
|
| +// static
|
| void NodeProperties::ReplaceContextInput(Node* node, Node* context) {
|
| node->ReplaceInput(FirstContextIndex(node), context);
|
| }
|
|
|