| 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('ssa'); | 5 #library('ssa'); |
| 6 | 6 |
| 7 #import('../leg.dart'); | 7 #import('../leg.dart'); |
| 8 #import('../native_handler.dart', prefix: 'native'); | 8 #import('../native_handler.dart', prefix: 'native'); |
| 9 #import('../source_file.dart'); |
| 9 #import('../elements/elements.dart'); | 10 #import('../elements/elements.dart'); |
| 10 #import('../scanner/scannerlib.dart'); | 11 #import('../scanner/scannerlib.dart'); |
| 11 #import('../tree/tree.dart'); | 12 #import('../tree/tree.dart'); |
| 12 #import('../util/util.dart'); | 13 #import('../util/util.dart'); |
| 13 #import('../util/characters.dart'); | 14 #import('../util/characters.dart'); |
| 14 | 15 |
| 15 #source('bailout.dart'); | 16 #source('bailout.dart'); |
| 16 #source('builder.dart'); | 17 #source('builder.dart'); |
| 17 #source('closure.dart'); | 18 #source('closure.dart'); |
| 18 #source('codegen.dart'); | 19 #source('codegen.dart'); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 43 | 44 |
| 44 bool hasTypeArguments(Type type) { | 45 bool hasTypeArguments(Type type) { |
| 45 if (type is InterfaceType) { | 46 if (type is InterfaceType) { |
| 46 InterfaceType interfaceType = type; | 47 InterfaceType interfaceType = type; |
| 47 return (!interfaceType.arguments.isEmpty() && | 48 return (!interfaceType.arguments.isEmpty() && |
| 48 interfaceType.arguments.tail.isEmpty()); | 49 interfaceType.arguments.tail.isEmpty()); |
| 49 } | 50 } |
| 50 return false; | 51 return false; |
| 51 } | 52 } |
| 52 } | 53 } |
| OLD | NEW |