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

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

Issue 1165943005: Revert "Support Package Resolution Configuration files." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 } 54 }
55 oldTag.makeCurrent(); 55 oldTag.makeCurrent();
56 compiler = new Compiler( 56 compiler = new Compiler(
57 inputProvider, 57 inputProvider,
58 outputProvider, 58 outputProvider,
59 diagnosticHandler, 59 diagnosticHandler,
60 libraryRoot, 60 libraryRoot,
61 packageRoot, 61 packageRoot,
62 options, 62 options,
63 environment, 63 environment);
64 null,
65 null);
66 JavaScriptBackend backend = compiler.backend; 64 JavaScriptBackend backend = compiler.backend;
67 65
68 // Much like a scout, an incremental compiler is always prepared. For 66 // Much like a scout, an incremental compiler is always prepared. For
69 // mixins, classes, and lazy statics, at least. 67 // mixins, classes, and lazy statics, at least.
70 backend.emitter.oldEmitter 68 backend.emitter.oldEmitter
71 ..needsClassSupport = true 69 ..needsClassSupport = true
72 ..needsMixinSupport = true 70 ..needsMixinSupport = true
73 ..needsLazyInitializer = true 71 ..needsLazyInitializer = true
74 ..needsStructuredMemberInfo = true; 72 ..needsStructuredMemberInfo = true;
75 73
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 final Map<String, String> output = new Map<String, String>(); 194 final Map<String, String> output = new Map<String, String>();
197 195
198 EventSink<String> call(String name, String extension) { 196 EventSink<String> call(String name, String extension) {
199 return new StringEventSink((String data) { 197 return new StringEventSink((String data) {
200 output['$name.$extension'] = data; 198 output['$name.$extension'] = data;
201 }); 199 });
202 } 200 }
203 201
204 String operator[] (String key) => output[key]; 202 String operator[] (String key) => output[key];
205 } 203 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/mirrors/analyze.dart ('k') | tests/compiler/dart2js/bad_output_io_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698