| Index: sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart b/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart
|
| index 97f73f2ccb435988f0ad5e5bfd20e6529b4d6689..ef8c32c20398494848c62cab96bbc0c26415b6a0 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart
|
| @@ -18,6 +18,9 @@ abstract class Node {
|
| static int hashCount = 0;
|
| final int hashCode = hashCount = (hashCount + 1) & 0x3fffffff;
|
|
|
| + /// A pointer to the parent node. Is null until set by optimization passes.
|
| + Node parent;
|
| +
|
| accept(Visitor visitor);
|
| }
|
|
|
| @@ -83,6 +86,9 @@ class Reference {
|
| Reference previous = null;
|
| Reference next = null;
|
|
|
| + /// A pointer to the parent node. Is null until set by optimization passes.
|
| + Node parent;
|
| +
|
| Reference(this.definition) {
|
| next = definition.firstRef;
|
| if (next != null) next.previous = this;
|
|
|