Vyacheslav Egorov | 8af4a2e | 2016-07-07 18:05:06 | [diff] [blame] | 1 | #!/usr/bin/env dart |
| 2 | // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 3 | // for details. All rights reserved. Use of this source code is governed by a |
| 4 | // BSD-style license that can be found in the LICENSE file. |
| 5 | |
| 6 | import 'package:kernel/kernel.dart'; |
| 7 | |
| 8 | main(args) { |
| 9 | var binary = loadProgramFromBinary(args[0]); |
Asger Feldthaus | 3ac36ac | 2016-10-04 11:30:46 | [diff] [blame] | 10 | writeProgramToText(binary, path: args[1]); |
Vyacheslav Egorov | 8af4a2e | 2016-07-07 18:05:06 | [diff] [blame] | 11 | } |