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

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

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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) 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 7 import 'dart:async' show
8 EventSink, 8 EventSink,
9 Future; 9 Future;
10 10
11 import '../compiler_new.dart' as api; 11 import '../compiler_new.dart' as api;
12 import 'cache_strategy.dart' show 12 import 'cache_strategy.dart' show
13 CacheStrategy; 13 CacheStrategy;
14 import 'closure.dart' as closureMapping show 14 import 'closure.dart' as closureMapping show
15 ClosureTask; 15 ClosureTask;
16 import 'common.dart';
16 import 'common/backend_api.dart' show 17 import 'common/backend_api.dart' show
17 Backend; 18 Backend;
18 import 'common/codegen.dart' show 19 import 'common/codegen.dart' show
19 CodegenRegistry, 20 CodegenRegistry,
20 CodegenWorkItem; 21 CodegenWorkItem;
21 import 'common/names.dart' show 22 import 'common/names.dart' show
22 Identifiers, 23 Identifiers,
23 Uris; 24 Uris;
24 import 'common/registry.dart' show 25 import 'common/registry.dart' show
25 Registry; 26 Registry;
(...skipping 13 matching lines...) Expand all
39 CoreTypes; 40 CoreTypes;
40 import 'dart_backend/dart_backend.dart' as dart_backend; 41 import 'dart_backend/dart_backend.dart' as dart_backend;
41 import 'dart_types.dart' show 42 import 'dart_types.dart' show
42 DartType, 43 DartType,
43 DynamicType, 44 DynamicType,
44 InterfaceType, 45 InterfaceType,
45 Types; 46 Types;
46 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit; 47 import 'deferred_load.dart' show DeferredLoadTask, OutputUnit;
47 import 'diagnostics/code_location.dart'; 48 import 'diagnostics/code_location.dart';
48 import 'diagnostics/diagnostic_listener.dart' show 49 import 'diagnostics/diagnostic_listener.dart' show
49 DiagnosticMessage, 50 DiagnosticOptions;
50 DiagnosticOptions,
51 DiagnosticReporter;
52 import 'diagnostics/invariant.dart' show 51 import 'diagnostics/invariant.dart' show
53 invariant,
54 REPORT_EXCESS_RESOLUTION; 52 REPORT_EXCESS_RESOLUTION;
55 import 'diagnostics/messages.dart' show 53 import 'diagnostics/messages.dart' show
56 Message, 54 Message,
57 MessageKind,
58 MessageTemplate; 55 MessageTemplate;
59 import 'diagnostics/source_span.dart' show
60 SourceSpan;
61 import 'diagnostics/spannable.dart' show
62 CURRENT_ELEMENT_SPANNABLE,
63 NO_LOCATION_SPANNABLE,
64 Spannable,
65 SpannableAssertionFailure;
66 import 'dump_info.dart' show 56 import 'dump_info.dart' show
67 DumpInfoTask; 57 DumpInfoTask;
68 import 'elements/elements.dart'; 58 import 'elements/elements.dart';
69 import 'elements/modelx.dart' show 59 import 'elements/modelx.dart' show
70 ErroneousElementX, 60 ErroneousElementX,
71 ClassElementX, 61 ClassElementX,
72 CompilationUnitElementX, 62 CompilationUnitElementX,
73 DeferredLoaderGetterElementX, 63 DeferredLoaderGetterElementX,
74 MethodElementX, 64 MethodElementX,
75 LibraryElementX, 65 LibraryElementX,
(...skipping 1937 matching lines...) Expand 10 before | Expand all | Expand 10 after
2013 2003
2014 @override 2004 @override
2015 void parsePatchClass(ClassElement cls) { 2005 void parsePatchClass(ClassElement cls) {
2016 compiler.patchParser.measure(() { 2006 compiler.patchParser.measure(() {
2017 if (cls.isPatch) { 2007 if (cls.isPatch) {
2018 compiler.patchParser.parsePatchClassNode(cls); 2008 compiler.patchParser.parsePatchClassNode(cls);
2019 } 2009 }
2020 }); 2010 });
2021 } 2011 }
2022 } 2012 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/constants/constant_constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698