| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.compile_platform; | 5 library fasta.compile_platform; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future; | 8 Future; |
| 9 | 9 |
| 10 import 'package:kernel/verifier.dart' show | 10 import 'kernel/verifier.dart' show |
| 11 verifyProgram; | 11 verifyProgram; |
| 12 | 12 |
| 13 import 'ticker.dart' show | 13 import 'ticker.dart' show |
| 14 Ticker; | 14 Ticker; |
| 15 | 15 |
| 16 import 'dart:io' show | 16 import 'dart:io' show |
| 17 exitCode; | 17 exitCode; |
| 18 | 18 |
| 19 import 'compiler_command_line.dart' show | 19 import 'compiler_command_line.dart' show |
| 20 CompilerCommandLine; | 20 CompilerCommandLine; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 ticker.logMs("Verified program"); | 82 ticker.logMs("Verified program"); |
| 83 } catch (e, s) { | 83 } catch (e, s) { |
| 84 exitCode = 1; | 84 exitCode = 1; |
| 85 print("Verification of program failed: $e"); | 85 print("Verification of program failed: $e"); |
| 86 if (s != null && c.options.verbose) { | 86 if (s != null && c.options.verbose) { |
| 87 print(s); | 87 print(s); |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 } | 91 } |
| OLD | NEW |