| 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 import 'package:kernel/kernel.dart'; | 5 import 'package:kernel/kernel.dart'; |
| 5 import 'package:kernel/verifier.dart'; | 6 import 'package:kernel/verifier.dart'; |
| 6 | 7 |
| 7 main() { | 8 import 'self_check_util.dart'; |
| 8 Program program = loadProgramFromBinary('test/data/dart2js.dill'); | 9 |
| 9 CheckParentPointers.check(program); | 10 main(List<String> args) { |
| 11 runSelfCheck(args, (String filename) { |
| 12 verifyProgram(loadProgramFromBinary(filename)); |
| 13 }); |
| 10 } | 14 } |
| OLD | NEW |