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

Unified Diff: pkg/compiler/lib/src/js_emitter/code_emitter_task.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/code_emitter_task.dart
diff --git a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart
index bea4320d93d488490cd8ec5ab1e8ef1921ac55cc..28583fcbeaf5eedc6a77e86e22d7c656126f264d 100644
--- a/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart
+++ b/pkg/compiler/lib/src/js_emitter/code_emitter_task.dart
@@ -34,7 +34,7 @@ class CodeEmitterTask extends CompilerTask {
Set<ClassElement> neededClasses;
CodeEmitterTask(Compiler compiler, Namer namer, bool generateSourceMap,
- bool useStartupEmitter)
+ bool useStartupEmitter)
: super(compiler),
this.namer = namer,
this.typeTestRegistry = new TypeTestRegistry(compiler) {
@@ -98,7 +98,7 @@ class CodeEmitterTask extends CompilerTask {
/// Returns the JS prototype of the given class [e].
jsAst.Expression prototypeAccess(ClassElement e,
- {bool hasBeenInstantiated: false}) {
+ {bool hasBeenInstantiated: false}) {
return emitter.prototypeAccess(e, hasBeenInstantiated);
}
@@ -141,8 +141,8 @@ class CodeEmitterTask extends CompilerTask {
emitter.invalidateCaches();
Set<ClassElement> rtiNeededClasses = _finalizeRti();
- ProgramBuilder programBuilder = new ProgramBuilder(
- compiler, namer, this, emitter, rtiNeededClasses);
+ ProgramBuilder programBuilder =
+ new ProgramBuilder(compiler, namer, this, emitter, rtiNeededClasses);
int size = emitter.emitProgram(programBuilder);
// TODO(floitsch): we shouldn't need the `neededClasses` anymore.
neededClasses = programBuilder.collector.neededClasses;
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/class_stub_generator.dart ('k') | pkg/compiler/lib/src/js_emitter/constant_ordering.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698