| Index: src/compiler/node.cc
|
| diff --git a/src/compiler/node.cc b/src/compiler/node.cc
|
| index 68eb73abd4c52bc9313a3a39cb5365466514dcab..1a9c326f20be0f37fd5aa36ba049f5bf8133cc51 100644
|
| --- a/src/compiler/node.cc
|
| +++ b/src/compiler/node.cc
|
| @@ -40,7 +40,7 @@ Node* Node::New(Zone* zone, NodeId id, const Operator* op, int input_count,
|
|
|
| void Node::Kill() {
|
| DCHECK_NOT_NULL(op());
|
| - RemoveAllInputs();
|
| + NullAllInputs();
|
| DCHECK(uses().empty());
|
| }
|
|
|
| @@ -89,7 +89,7 @@ void Node::RemoveInput(int index) {
|
| }
|
|
|
|
|
| -void Node::RemoveAllInputs() {
|
| +void Node::NullAllInputs() {
|
| for (Edge edge : input_edges()) edge.UpdateTo(nullptr);
|
| }
|
|
|
|
|