| Index: lib/compiler/implementation/ssa/nodes.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/ssa/nodes.dart (revision 6688)
|
| +++ lib/compiler/implementation/ssa/nodes.dart (working copy)
|
| @@ -734,6 +734,8 @@
|
| }
|
|
|
| class HInstruction implements Hashable {
|
| + Element sourceElement;
|
| +
|
| final int id;
|
| static int idCounter;
|
|
|
| @@ -1765,8 +1767,6 @@
|
| }
|
|
|
| class HPhi extends HInstruction {
|
| - final Element element;
|
| -
|
| static final IS_NOT_LOGICAL_OPERATOR = 0;
|
| static final IS_AND = 1;
|
| static final IS_OR = 2;
|
| @@ -1776,7 +1776,9 @@
|
| // The order of the [inputs] must correspond to the order of the
|
| // predecessor-edges. That is if an input comes from the first predecessor
|
| // of the surrounding block, then the input must be the first in the [HPhi].
|
| - HPhi(this.element, List<HInstruction> inputs) : super(inputs);
|
| + HPhi(Element element, List<HInstruction> inputs) : super(inputs) {
|
| + sourceElement = element;
|
| + }
|
| HPhi.noInputs(Element element) : this(element, <HInstruction>[]);
|
| HPhi.singleInput(Element element, HInstruction input)
|
| : this(element, <HInstruction>[input]);
|
|
|