| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 import '../common.dart'; | 5 import '../common.dart'; |
| 6 import '../common/names.dart' show Identifiers, Names, Selectors; | 6 import '../common/names.dart' show Identifiers, Names, Selectors; |
| 7 import '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show Compiler; |
| 8 import '../elements/elements.dart'; | 8 import '../elements/elements.dart'; |
| 9 import '../tree/tree.dart'; | 9 import '../tree/tree.dart'; |
| 10 import 'backend.dart'; | 10 import 'backend.dart'; |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 body.statements.nodes.tail.isEmpty) { | 260 body.statements.nodes.tail.isEmpty) { |
| 261 if (body.statements.nodes.head is ExpressionStatement) { | 261 if (body.statements.nodes.head is ExpressionStatement) { |
| 262 ExpressionStatement stmt = body.statements.nodes.head; | 262 ExpressionStatement stmt = body.statements.nodes.head; |
| 263 return stmt.expression is Throw; | 263 return stmt.expression is Throw; |
| 264 } | 264 } |
| 265 } | 265 } |
| 266 return false; | 266 return false; |
| 267 } | 267 } |
| 268 } | 268 } |
| 269 | 269 |
| 270 enum NsmCategory { DEFAULT, THROWING, NOT_APPLICABLE, OTHER, } | 270 enum NsmCategory { |
| 271 DEFAULT, |
| 272 THROWING, |
| 273 NOT_APPLICABLE, |
| 274 OTHER, |
| 275 } |
| OLD | NEW |