Index: pkg/compiler/lib/src/cps_ir/cps_fragment.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_fragment.dart b/pkg/compiler/lib/src/cps_ir/cps_fragment.dart |
index 6eda70742528e37e653693eee459ff277fda8980..db1ea0b4f1930c0624abcc62a464881494ed749f 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_fragment.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_fragment.dart |
@@ -273,14 +273,12 @@ class CpsFragment { |
/// Reads the value of the given mutable variable. |
Primitive getMutable(MutableVariable variable) { |
- return letPrim(new GetMutableVariable(variable)); |
+ return letPrim(new GetMutable(variable)); |
} |
/// Sets the value of the given mutable variable. |
void setMutable(MutableVariable variable, Primitive value) { |
- SetMutableVariable setter = new SetMutableVariable(variable, value); |
- put(setter); |
- context = setter; |
+ letPrim(new SetMutable(variable, value)); |
} |
/// Declare a new mutable variable. |