Index: lib/compiler/implementation/ssa/variable_allocator.dart |
=================================================================== |
--- lib/compiler/implementation/ssa/variable_allocator.dart (revision 8323) |
+++ lib/compiler/implementation/ssa/variable_allocator.dart (working copy) |
@@ -444,9 +444,9 @@ |
if (name == null) return null; |
} else if (instruction is HParameterValue) { |
HParameterValue parameter = instruction; |
- name = parameterNames[parameter.element]; |
+ name = parameterNames[parameter.sourceElement]; |
if (name == null) { |
- name = allocateWithHint(parameter.element.name.slowToString()); |
+ name = allocateWithHint(parameter.sourceElement.name.slowToString()); |
} |
} else if (instruction.sourceElement !== null) { |
name = allocateWithHint(instruction.sourceElement.name.slowToString()); |