| Index: src/compiler/state-values-utils.h
|
| diff --git a/src/compiler/state-values-utils.h b/src/compiler/state-values-utils.h
|
| index ff7e9dd7c5868ae7b312276657fd4e271b2e9635..79550bd3ffbad0270112765c793a7057cfa11d1a 100644
|
| --- a/src/compiler/state-values-utils.h
|
| +++ b/src/compiler/state-values-utils.h
|
| @@ -62,12 +62,18 @@ class StateValuesCache {
|
|
|
| class StateValuesAccess {
|
| public:
|
| + struct TypedNode {
|
| + Node* node;
|
| + MachineType type;
|
| + TypedNode(Node* node, MachineType type) : node(node), type(type) {}
|
| + };
|
| +
|
| class iterator {
|
| public:
|
| // Bare minimum of operators needed for range iteration.
|
| bool operator!=(iterator& other);
|
| iterator& operator++();
|
| - Node* operator*();
|
| + TypedNode operator*();
|
|
|
| private:
|
| friend class StateValuesAccess;
|
| @@ -76,6 +82,7 @@ class StateValuesAccess {
|
| explicit iterator(Node* node);
|
|
|
| Node* node();
|
| + MachineType type();
|
| bool done();
|
| void Advance();
|
|
|
|
|