Index: lib/compiler/implementation/ssa/builder.dart |
=================================================================== |
--- lib/compiler/implementation/ssa/builder.dart (revision 8141) |
+++ lib/compiler/implementation/ssa/builder.dart (working copy) |
@@ -438,7 +438,10 @@ |
HParameterValue getActivationParameter(Element element) { |
// If the element is a parameter, we already have a |
- // HParameterValue for it. |
+ // HParameterValue for it. We cannot create another one because |
+ // it could then have another name than the real parameter. And |
+ // the other one would not not it is just a copy of the real |
+ // parameter. |
if (element.isParameter()) return directLocals[element]; |
return builder.activationVariables.putIfAbsent(element, () { |