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 universe; | 5 library universe; |
6 | 6 |
7 import '../elements/elements.dart'; | 7 import '../elements/elements.dart'; |
8 import '../dart2jslib.dart'; | 8 import '../dart2jslib.dart'; |
9 import '../dart_types.dart'; | 9 import '../dart_types.dart'; |
10 import '../types/types.dart'; | 10 import '../types/types.dart'; |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 | 796 |
797 Selector extendIfReachesAll(Compiler compiler) { | 797 Selector extendIfReachesAll(Compiler compiler) { |
798 bool canReachAll = compiler.enabledInvokeOn | 798 bool canReachAll = compiler.enabledInvokeOn |
799 && mask.needsNoSuchMethodHandling(this, compiler.world); | 799 && mask.needsNoSuchMethodHandling(this, compiler.world); |
800 return canReachAll | 800 return canReachAll |
801 ? new TypedSelector( | 801 ? new TypedSelector( |
802 compiler.typesTask.dynamicType, this, compiler.world) | 802 compiler.typesTask.dynamicType, this, compiler.world) |
803 : this; | 803 : this; |
804 } | 804 } |
805 } | 805 } |
OLD | NEW |