| Index: src/compiler/node.h
|
| diff --git a/src/compiler/node.h b/src/compiler/node.h
|
| index d8a44939f389d322e0a0708d05d767aaabe102f0..ac2f332210b00c4e08a6e6529652fd78d65272c2 100644
|
| --- a/src/compiler/node.h
|
| +++ b/src/compiler/node.h
|
| @@ -53,6 +53,8 @@ class Node FINAL : public GenericNode<NodeData, Node> {
|
| : GenericNode<NodeData, Node>(graph, input_count) {}
|
|
|
| void Initialize(const Operator* op) { set_op(op); }
|
| +
|
| + bool IsDead() const { return InputCount() > 0 && InputAt(0) == NULL; }
|
| void Kill();
|
|
|
| void CollectProjections(ZoneVector<Node*>* projections);
|
|
|