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

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

Issue 2808763005: Extract OrderedTypeSetBuilderBase from OrderedTypeSetBuilder (Closed)
Patch Set: Created 3 years, 8 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/closure.dart ('k') | pkg/compiler/lib/src/deferred_load.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 'closure.dart' as closureMapping show ClosureTask; 10 import 'closure.dart' as closureMapping show ClosureTask;
(...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1898 f(declarer, member); 1898 f(declarer, member);
1899 }, includeSuperAndInjectedMembers: true); 1899 }, includeSuperAndInjectedMembers: true);
1900 } 1900 }
1901 1901
1902 @override 1902 @override
1903 ClassEntity getSuperClass(ClassElement cls) => cls.superclass; 1903 ClassEntity getSuperClass(ClassElement cls) => cls.superclass;
1904 1904
1905 @override 1905 @override
1906 void forEachSupertype( 1906 void forEachSupertype(
1907 ClassElement cls, void f(ResolutionInterfaceType supertype)) { 1907 ClassElement cls, void f(ResolutionInterfaceType supertype)) {
1908 cls.allSupertypes.forEach((ResolutionDartType supertype) => f(supertype)); 1908 cls.allSupertypes
1909 .forEach((ResolutionInterfaceType supertype) => f(supertype));
1909 } 1910 }
1910 1911
1911 @override 1912 @override
1912 void forEachMixin(ClassElement cls, void f(ClassElement mixin)) { 1913 void forEachMixin(ClassElement cls, void f(ClassElement mixin)) {
1913 for (; cls != null; cls = cls.superclass) { 1914 for (; cls != null; cls = cls.superclass) {
1914 if (cls.isMixinApplication) { 1915 if (cls.isMixinApplication) {
1915 MixinApplicationElement mixinApplication = cls; 1916 MixinApplicationElement mixinApplication = cls;
1916 f(mixinApplication.mixin); 1917 f(mixinApplication.mixin);
1917 } 1918 }
1918 } 1919 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) { 2002 ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) {
2002 return function.type; 2003 return function.type;
2003 } 2004 }
2004 2005
2005 @override 2006 @override
2006 ResolutionDartType getUnaliasedType(ResolutionDartType type) { 2007 ResolutionDartType getUnaliasedType(ResolutionDartType type) {
2007 type.computeUnaliased(_resolution); 2008 type.computeUnaliased(_resolution);
2008 return type.unaliased; 2009 return type.unaliased;
2009 } 2010 }
2010 } 2011 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698