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

Side by Side Diff: pkg/compiler/lib/src/compiler.dart

Issue 2951723002: Add closure_test for kernel based members (Closed)
Patch Set: Cleanup Created 3 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart2js.dart » ('j') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library dart2js.compiler_base; 5 library dart2js.compiler_base;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import '../compiler_new.dart' as api; 9 import '../compiler_new.dart' as api;
10 import 'backend_strategy.dart'; 10 import 'backend_strategy.dart';
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 : outputProvider { 187 : outputProvider {
188 if (makeReporter != null) { 188 if (makeReporter != null) {
189 _reporter = makeReporter(this, options); 189 _reporter = makeReporter(this, options);
190 } else { 190 } else {
191 _reporter = new CompilerDiagnosticReporter(this, options); 191 _reporter = new CompilerDiagnosticReporter(this, options);
192 } 192 }
193 frontendStrategy = options.loadFromDill 193 frontendStrategy = options.loadFromDill
194 ? new KernelFrontEndStrategy(reporter, environment) 194 ? new KernelFrontEndStrategy(reporter, environment)
195 : new ResolutionFrontEndStrategy(this); 195 : new ResolutionFrontEndStrategy(this);
196 backendStrategy = options.loadFromDill 196 backendStrategy = options.loadFromDill
197 ? new KernelBackendStrategy(this) 197 ? new KernelBackendStrategyImpl(this)
198 : new ElementBackendStrategy(this); 198 : new ElementBackendStrategy(this);
199 _resolution = createResolution(); 199 _resolution = createResolution();
200 types = new Types(_resolution); 200 types = new Types(_resolution);
201 201
202 if (options.verbose) { 202 if (options.verbose) {
203 progress = new Stopwatch()..start(); 203 progress = new Stopwatch()..start();
204 } 204 }
205 205
206 backend = createBackend(); 206 backend = createBackend();
207 enqueuer = backend.makeEnqueuer(); 207 enqueuer = backend.makeEnqueuer();
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 _ElementScanner(this.scanner); 1594 _ElementScanner(this.scanner);
1595 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library); 1595 void scanLibrary(LibraryElement library) => scanner.scanLibrary(library);
1596 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit); 1596 void scanUnit(CompilationUnitElement unit) => scanner.scan(unit);
1597 } 1597 }
1598 1598
1599 class _EmptyEnvironment implements Environment { 1599 class _EmptyEnvironment implements Environment {
1600 const _EmptyEnvironment(); 1600 const _EmptyEnvironment();
1601 1601
1602 String valueOf(String key) => null; 1602 String valueOf(String key) => null;
1603 } 1603 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698