Index: src/compiler/scheduler.cc |
diff --git a/src/compiler/scheduler.cc b/src/compiler/scheduler.cc |
index 9851dba4fec00eec5688557c86aac96bea752798..589094c37197baf945c5a0971eefdf5db33bd53a 100644 |
--- a/src/compiler/scheduler.cc |
+++ b/src/compiler/scheduler.cc |
@@ -318,7 +318,7 @@ class CFGBuilder : public ZoneObject { |
BuildBlocksForSuccessors(node); |
break; |
case IrOpcode::kCall: |
- if (IsExceptionalCall(node)) { |
+ if (NodeProperties::IsExceptionalCall(node)) { |
BuildBlocksForSuccessors(node); |
} |
break; |
@@ -354,7 +354,7 @@ class CFGBuilder : public ZoneObject { |
ConnectThrow(node); |
break; |
case IrOpcode::kCall: |
- if (IsExceptionalCall(node)) { |
+ if (NodeProperties::IsExceptionalCall(node)) { |
scheduler_->UpdatePlacement(node, Scheduler::kFixed); |
ConnectCall(node); |
} |
@@ -519,13 +519,6 @@ class CFGBuilder : public ZoneObject { |
} |
} |
- bool IsExceptionalCall(Node* node) { |
- for (Node* const use : node->uses()) { |
- if (use->opcode() == IrOpcode::kIfException) return true; |
- } |
- return false; |
- } |
- |
bool IsFinalMerge(Node* node) { |
return (node->opcode() == IrOpcode::kMerge && |
node == scheduler_->graph_->end()->InputAt(0)); |