| Index: pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart b/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
|
| index d4630b5abceb40bc9715e04c9db12b2ed40edc51..e5ea7a82ce1a5c77040dfcffcc06898cb0a80413 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
|
| @@ -168,7 +168,7 @@ class MutableVariableEliminator implements Pass {
|
| if (shouldRewrite(variable)) {
|
| // Replace with the reaching definition from the environment.
|
| Primitive value = environment[variable];
|
| - value.substituteFor(getter);
|
| + getter.replaceUsesWith(value);
|
| mergeHints(variable, value);
|
| node.remove();
|
| }
|
|
|