Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2111)

Unified Diff: pkg/compiler/lib/src/cps_ir/effects.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart ('k') | pkg/compiler/lib/src/cps_ir/finalize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/effects.dart
diff --git a/pkg/compiler/lib/src/cps_ir/effects.dart b/pkg/compiler/lib/src/cps_ir/effects.dart
index 9ab55cd6424b4b0f38387d34c50b19ae84cb74bf..29d3172642ea49bff601c985152c2f82ed4cd9af 100644
--- a/pkg/compiler/lib/src/cps_ir/effects.dart
+++ b/pkg/compiler/lib/src/cps_ir/effects.dart
@@ -30,8 +30,7 @@ class Effects {
static const int changesIndexableLength = _changes << _indexableLength;
static const int changesOther = _changes << _other;
- static const int changesAll =
- changesStaticField |
+ static const int changesAll = changesStaticField |
changesInstanceField |
changesIndexableContent |
changesIndexableLength |
@@ -45,8 +44,7 @@ class Effects {
static const int dependsOnIndexableLength = _depends << _indexableLength;
static const int dependsOnOther = _depends << _other;
- static const int dependsOnAll =
- dependsOnStaticField |
+ static const int dependsOnAll = dependsOnStaticField |
dependsOnInstanceField |
dependsOnIndexableContent |
dependsOnIndexableLength |
@@ -131,9 +129,9 @@ class EffectNumbers {
return new EffectNumbers._zero().._effectNumbers.setAll(0, _effectNumbers);
}
- int operator[](int i) => _effectNumbers[i];
+ int operator [](int i) => _effectNumbers[i];
- void operator[]=(int i, int value) {
+ void operator []=(int i, int value) {
_effectNumbers[i] = value;
}
@@ -146,15 +144,19 @@ class EffectNumbers {
void set staticField(int n) {
_effectNumbers[Effects._staticField] = n;
}
+
void set instanceField(int n) {
_effectNumbers[Effects._instanceField] = n;
}
+
void set indexableContent(int n) {
_effectNumbers[Effects._indexableContent] = n;
}
+
void set indexableLength(int n) {
_effectNumbers[Effects._indexableLength] = n;
}
+
void set other(int n) {
_effectNumbers[Effects._other] = n;
}
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/eagerly_load_statics.dart ('k') | pkg/compiler/lib/src/cps_ir/finalize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698