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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 140543002: Revert "Redo "Make dart2js typed_data implementation classes private"" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/elements.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 part of dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 withCurrentElement(dynamicClass, () { 798 withCurrentElement(dynamicClass, () {
799 library.addToScope(dynamicClass, this); 799 library.addToScope(dynamicClass, this);
800 }); 800 });
801 } 801 }
802 if (uri == new Uri(scheme: 'dart', path: 'mirrors')) { 802 if (uri == new Uri(scheme: 'dart', path: 'mirrors')) {
803 mirrorsLibrary = library; 803 mirrorsLibrary = library;
804 mirrorSystemClass = 804 mirrorSystemClass =
805 findRequiredElement(library, 'MirrorSystem'); 805 findRequiredElement(library, 'MirrorSystem');
806 mirrorsUsedClass = 806 mirrorsUsedClass =
807 findRequiredElement(library, 'MirrorsUsed'); 807 findRequiredElement(library, 'MirrorsUsed');
808 } else if (uri == new Uri(scheme: 'dart', path: '_native_typed_data')) { 808 } else if (uri == new Uri(scheme: 'dart', path: 'typed_data')) {
809 typedDataLibrary = library; 809 typedDataLibrary = library;
810 typedDataClass = 810 typedDataClass =
811 findRequiredElement(library, 'NativeTypedData'); 811 findRequiredElement(library, 'TypedData');
812 } else if (uri == new Uri(scheme: 'dart', path: '_collection-dev')) { 812 } else if (uri == new Uri(scheme: 'dart', path: '_collection-dev')) {
813 symbolImplementationClass = 813 symbolImplementationClass =
814 findRequiredElement(library, 'Symbol'); 814 findRequiredElement(library, 'Symbol');
815 } else if (uri == new Uri(scheme: 'dart', path: 'async')) { 815 } else if (uri == new Uri(scheme: 'dart', path: 'async')) {
816 deferredLibraryClass = 816 deferredLibraryClass =
817 findRequiredElement(library, 'DeferredLibrary'); 817 findRequiredElement(library, 'DeferredLibrary');
818 } else if (isolateHelperLibrary == null 818 } else if (isolateHelperLibrary == null
819 && (uri == new Uri(scheme: 'dart', path: '_isolate_helper'))) { 819 && (uri == new Uri(scheme: 'dart', path: '_isolate_helper'))) {
820 isolateHelperLibrary = library; 820 isolateHelperLibrary = library;
821 } else if (foreignLibrary == null 821 } else if (foreignLibrary == null
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 1673
1674 void close() {} 1674 void close() {}
1675 1675
1676 toString() => name; 1676 toString() => name;
1677 1677
1678 /// Convenience method for getting an [api.CompilerOutputProvider]. 1678 /// Convenience method for getting an [api.CompilerOutputProvider].
1679 static NullSink outputProvider(String name, String extension) { 1679 static NullSink outputProvider(String name, String extension) {
1680 return new NullSink('$name.$extension'); 1680 return new NullSink('$name.$extension');
1681 } 1681 }
1682 } 1682 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698