| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |