| Index: pkg/compiler/lib/src/cps_ir/builtin_operator.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
|
| index 575164434e0b6a2084b0e34ca04b08094fa504d7..7c5e45cdee8574d064bf9af57755ff0a1bdd35f1 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/builtin_operator.dart
|
| @@ -212,7 +212,7 @@ enum BuiltinMethod {
|
|
|
| /// True for the built-in operators that may be used in a compound assignment.
|
| bool isCompoundableOperator(BuiltinOperator operator) {
|
| - switch(operator) {
|
| + switch (operator) {
|
| case BuiltinOperator.NumAdd:
|
| case BuiltinOperator.NumSubtract:
|
| case BuiltinOperator.NumMultiply:
|
| @@ -228,12 +228,11 @@ bool isCompoundableOperator(BuiltinOperator operator) {
|
| int getEffectsOfBuiltinMethod(BuiltinMethod method) {
|
| switch (method) {
|
| case BuiltinMethod.Push:
|
| - return Effects.changesIndexableContent |
|
| - Effects.changesIndexableLength;
|
| + return Effects.changesIndexableContent | Effects.changesIndexableLength;
|
| case BuiltinMethod.Pop:
|
| return Effects.dependsOnIndexableContent |
|
| - Effects.dependsOnIndexableLength |
|
| - Effects.changesIndexableLength;
|
| + Effects.dependsOnIndexableLength |
|
| + Effects.changesIndexableLength;
|
| case BuiltinMethod.SetLength:
|
| return Effects.changesIndexableLength;
|
| }
|
|
|