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

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

Issue 1284593003: Remove dart2jslib.dart (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
10 Registry;
11 import '../compiler.dart' show
12 Compiler;
9 import '../constants/values.dart'; 13 import '../constants/values.dart';
10 import '../dart2jslib.dart';
11 import '../dart_types.dart'; 14 import '../dart_types.dart';
12 import '../diagnostic_listener.dart'; 15 import '../diagnostic_listener.dart';
16 import '../diagnostics/spannable.dart' show
17 NO_LOCATION_SPANNABLE,
18 Spannable;
13 import '../enqueue.dart' show 19 import '../enqueue.dart' show
14 Enqueuer, 20 Enqueuer,
15 ResolutionEnqueuer; 21 ResolutionEnqueuer;
16 import '../elements/elements.dart'; 22 import '../elements/elements.dart';
17 import '../elements/modelx.dart' show 23 import '../elements/modelx.dart' show
18 BaseClassElementX, 24 BaseClassElementX,
19 ElementX, 25 ElementX,
20 FunctionElementX, 26 FunctionElementX,
21 LibraryElementX; 27 LibraryElementX;
22 import '../js/js.dart' as js; 28 import '../js/js.dart' as js;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 String quotedName = cls.nativeTagInfo; 69 String quotedName = cls.nativeTagInfo;
64 return quotedName.substring(1, quotedName.length - 1).split(','); 70 return quotedName.substring(1, quotedName.length - 1).split(',');
65 } 71 }
66 72
67 List<String> nativeTagsOfClass(ClassElement cls) { 73 List<String> nativeTagsOfClass(ClassElement cls) {
68 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList(); 74 return nativeTagsOfClassRaw(cls).where((s) => !s.startsWith('!')).toList();
69 } 75 }
70 76
71 bool nativeTagsForcedNonLeaf(ClassElement cls) => 77 bool nativeTagsForcedNonLeaf(ClassElement cls) =>
72 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