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

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

Issue 1286143003: Move diagnostic_listener.dart and messages.dart to the diagnostics folder (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « pkg/compiler/lib/src/mirrors_used.dart ('k') | pkg/compiler/lib/src/ordered_typeset.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 native; 5 library native;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common/registry.dart' show 9 import '../common/registry.dart' show
10 Registry; 10 Registry;
11 import '../compiler.dart' show 11 import '../compiler.dart' show
12 Compiler; 12 Compiler;
13 import '../constants/values.dart'; 13 import '../constants/values.dart';
14 import '../dart_types.dart'; 14 import '../dart_types.dart';
15 import '../diagnostic_listener.dart'; 15 import '../diagnostics/diagnostic_listener.dart';
16 import '../diagnostics/messages.dart' show MessageKind;
16 import '../diagnostics/spannable.dart' show 17 import '../diagnostics/spannable.dart' show
17 NO_LOCATION_SPANNABLE, 18 NO_LOCATION_SPANNABLE,
18 Spannable; 19 Spannable;
19 import '../enqueue.dart' show 20 import '../enqueue.dart' show
20 Enqueuer, 21 Enqueuer,
21 ResolutionEnqueuer; 22 ResolutionEnqueuer;
22 import '../elements/elements.dart'; 23 import '../elements/elements.dart';
23 import '../elements/modelx.dart' show 24 import '../elements/modelx.dart' show
24 BaseClassElementX, 25 BaseClassElementX,
25 ElementX, 26 ElementX,
26 FunctionElementX, 27 FunctionElementX,
27 LibraryElementX; 28 LibraryElementX;
28 import '../js/js.dart' as js; 29 import '../js/js.dart' as js;
29 import '../js_backend/js_backend.dart'; 30 import '../js_backend/js_backend.dart';
30 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; 31 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter;
31 import '../messages.dart' show MessageKind;
32 import '../resolution/resolution.dart' show ResolverVisitor; 32 import '../resolution/resolution.dart' show ResolverVisitor;
33 import '../scanner/scannerlib.dart'; 33 import '../scanner/scannerlib.dart';
34 import '../ssa/ssa.dart'; 34 import '../ssa/ssa.dart';
35 import '../tree/tree.dart'; 35 import '../tree/tree.dart';
36 import '../universe/universe.dart' show SideEffects; 36 import '../universe/universe.dart' show SideEffects;
37 import '../util/util.dart'; 37 import '../util/util.dart';
38 38
39 part 'behavior.dart'; 39 part 'behavior.dart';
40 part 'enqueue.dart'; 40 part 'enqueue.dart';
41 part 'js.dart'; 41 part 'js.dart';
(...skipping 27 matching lines...) Expand all
69 String quotedName = cls.nativeTagInfo; 69 String quotedName = cls.nativeTagInfo;
70 return quotedName.substring(1, quotedName.length - 1).split(','); 70 return quotedName.substring(1, quotedName.length - 1).split(',');
71 } 71 }
72 72
73 List<String> nativeTagsOfClass(ClassElement cls) { 73 List<String> nativeTagsOfClass(ClassElement cls) {
74 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList(); 74 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList();
75 } 75 }
76 76
77 bool nativeTagsForcedNonLeaf(ClassElement cls) => 77 bool nativeTagsForcedNonLeaf(ClassElement cls) =>
78 nativeTagsOfClassRaw(cls).contains('!nonleaf'); 78 nativeTagsOfClassRaw(cls).contains('!nonleaf');
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/mirrors_used.dart ('k') | pkg/compiler/lib/src/ordered_typeset.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698