| Index: src/compiler/node.cc
|
| diff --git a/src/compiler/node.cc b/src/compiler/node.cc
|
| index dcb3bfe9e34e38f72ae6bbbb36ff9c5540027ca9..8e5c0df215449c78ad48d906d8752ddab33eda4a 100644
|
| --- a/src/compiler/node.cc
|
| +++ b/src/compiler/node.cc
|
| @@ -10,6 +10,14 @@ namespace v8 {
|
| namespace internal {
|
| namespace compiler {
|
|
|
| +void Node::Kill() {
|
| + DCHECK_NOT_NULL(op());
|
| + RemoveAllInputs();
|
| + DCHECK(uses().empty());
|
| + set_op(NULL);
|
| +}
|
| +
|
| +
|
| void Node::CollectProjections(NodeVector* projections) {
|
| for (size_t i = 0; i < projections->size(); i++) {
|
| (*projections)[i] = NULL;
|
|
|