Index: lib/compiler/implementation/ssa/nodes.dart |
=================================================================== |
--- lib/compiler/implementation/ssa/nodes.dart (revision 8326) |
+++ lib/compiler/implementation/ssa/nodes.dart (working copy) |
@@ -1786,14 +1786,14 @@ |
} |
class HParameterValue extends HInstruction { |
- final Element element; |
+ HParameterValue(element) : super(<HInstruction>[]) { |
+ sourceElement = element; |
+ } |
- HParameterValue(this.element) : super(<HInstruction>[]); |
- |
void prepareGvn() { |
assert(!hasSideEffects()); |
} |
- toString() => 'parameter ${element.name}'; |
+ toString() => 'parameter ${sourceElement.name}'; |
accept(HVisitor visitor) => visitor.visitParameterValue(this); |
bool isCodeMotionInvariant() => true; |
} |