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

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

Issue 2807593002: Use entities in impact transformers. (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
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 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 @override 1992 @override
1993 bool isDeferredLoadLibraryGetter(MemberElement member) { 1993 bool isDeferredLoadLibraryGetter(MemberElement member) {
1994 return member.isDeferredLoaderGetter; 1994 return member.isDeferredLoaderGetter;
1995 } 1995 }
1996 1996
1997 @override 1997 @override
1998 ResolutionFunctionType getFunctionType(MethodElement method) { 1998 ResolutionFunctionType getFunctionType(MethodElement method) {
1999 method.computeType(_resolution); 1999 method.computeType(_resolution);
2000 return method.type; 2000 return method.type;
2001 } 2001 }
2002
2003 @override
2004 ResolutionFunctionType getLocalFunctionType(LocalFunctionElement function) {
2005 return function.type;
2006 }
2007
2008 @override
2009 ResolutionDartType getUnaliasedType(ResolutionDartType type) {
2010 type.computeUnaliased(_resolution);
2011 return type.unaliased;
2012 }
2002 } 2013 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common_elements.dart ('k') | pkg/compiler/lib/src/elements/resolution_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698