| Index: src/compiler/generic-node.h
|
| diff --git a/src/compiler/generic-node.h b/src/compiler/generic-node.h
|
| index 287d852f5ed7f053a0add2ba494753744907f89a..aadee7611a7e0a3cd8192c2aff3a5aa6a29a1f12 100644
|
| --- a/src/compiler/generic-node.h
|
| +++ b/src/compiler/generic-node.h
|
| @@ -204,6 +204,12 @@ class GenericNode<B, S>::Inputs::iterator {
|
| ++index_;
|
| return *this;
|
| }
|
| + iterator& UpdateToAndIncrement(GenericNode<B, S>* new_to) {
|
| + typename GenericNode<B, S>::Input* input = GetInput();
|
| + input->Update(new_to);
|
| + index_++;
|
| + return *this;
|
| + }
|
| int index() { return index_; }
|
|
|
| private:
|
|
|