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

Unified Diff: pkg/compiler/lib/src/js_emitter/program_builder/registry.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
Index: pkg/compiler/lib/src/js_emitter/program_builder/registry.dart
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder/registry.dart b/pkg/compiler/lib/src/js_emitter/program_builder/registry.dart
index 5614bf99c12e512e42e230a15ac32b7fc7c66bd4..192f15816ec1292977242a69f6301482ab676a50 100644
--- a/pkg/compiler/lib/src/js_emitter/program_builder/registry.dart
+++ b/pkg/compiler/lib/src/js_emitter/program_builder/registry.dart
@@ -113,12 +113,11 @@ class Registry {
// Ignore for now.
}
- Holder registerHolder(
- String name,
+ Holder registerHolder(String name,
{bool isStaticStateHolder: false, bool isConstantsHolder: false}) {
assert(_holdersMap[name] == null ||
(_holdersMap[name].isStaticStateHolder == isStaticStateHolder &&
- _holdersMap[name].isConstantsHolder == isConstantsHolder));
+ _holdersMap[name].isConstantsHolder == isConstantsHolder));
return _holdersMap.putIfAbsent(name, () {
return new Holder(name, _holdersMap.length,

Powered by Google App Engine
This is Rietveld 408576698