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

Side by Side Diff: pkg/dart2js_incremental/lib/caching_compiler.dart

Issue 812033013: Fix typo in caching compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js_incremental; 5 part of dart2js_incremental;
6 6
7 /// Do not call this method directly. It will be made private. 7 /// Do not call this method directly. It will be made private.
8 // TODO(ahe): Make this method private. 8 // TODO(ahe): Make this method private.
9 Future<Compiler> reuseCompiler( 9 Future<Compiler> reuseCompiler(
10 {DiagnosticHandler diagnosticHandler, 10 {DiagnosticHandler diagnosticHandler,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 compiler.enqueuer.resolution, compiler.globalDependencies); 80 compiler.enqueuer.resolution, compiler.globalDependencies);
81 return compiler; 81 return compiler;
82 }); 82 });
83 } else { 83 } else {
84 for (final task in compiler.tasks) { 84 for (final task in compiler.tasks) {
85 if (task.watch != null) { 85 if (task.watch != null) {
86 task.watch.reset(); 86 task.watch.reset();
87 } 87 }
88 } 88 }
89 compiler 89 compiler
90 ..outputProvider = outputProvider 90 ..userOutputProvider = outputProvider
91 ..provider = inputProvider 91 ..provider = inputProvider
92 ..handler = diagnosticHandler 92 ..handler = diagnosticHandler
93 ..enqueuer.resolution.queueIsClosed = false 93 ..enqueuer.resolution.queueIsClosed = false
94 ..enqueuer.resolution.hasEnqueuedReflectiveElements = false 94 ..enqueuer.resolution.hasEnqueuedReflectiveElements = false
95 ..enqueuer.resolution.hasEnqueuedReflectiveStaticFields = false 95 ..enqueuer.resolution.hasEnqueuedReflectiveStaticFields = false
96 ..enqueuer.codegen.queueIsClosed = false 96 ..enqueuer.codegen.queueIsClosed = false
97 ..enqueuer.codegen.hasEnqueuedReflectiveElements = false 97 ..enqueuer.codegen.hasEnqueuedReflectiveElements = false
98 ..enqueuer.codegen.hasEnqueuedReflectiveStaticFields = false 98 ..enqueuer.codegen.hasEnqueuedReflectiveStaticFields = false
99 ..compilationFailed = false; 99 ..compilationFailed = false;
100 JavaScriptBackend backend = compiler.backend; 100 JavaScriptBackend backend = compiler.backend;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 final Map<String, String> output = new Map<String, String>(); 200 final Map<String, String> output = new Map<String, String>();
201 201
202 EventSink<String> call(String name, String extension) { 202 EventSink<String> call(String name, String extension) {
203 return new StringEventSink((String data) { 203 return new StringEventSink((String data) {
204 output['$name.$extension'] = data; 204 output['$name.$extension'] = data;
205 }); 205 });
206 } 206 }
207 207
208 String operator[] (String key) => output[key]; 208 String operator[] (String key) => output[key];
209 } 209 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698