Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: pkg/kernel/bin/transform.dart

Issue 2531873002: Add --verify-ir flag to dartk and test.py. (Closed)
Patch Set: Minor fixes Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/kernel/bin/dartk.dart ('k') | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/bin/transform.dart
diff --git a/pkg/kernel/bin/transform.dart b/pkg/kernel/bin/transform.dart
index 01be6b6390065abcfa077727d9c8be97de24fe4d..680a760566ad92a1eb001fa5810c2583a1b2c02f 100755
--- a/pkg/kernel/bin/transform.dart
+++ b/pkg/kernel/bin/transform.dart
@@ -7,7 +7,7 @@ import 'dart:async';
import 'dart:io';
import 'package:args/args.dart';
-import 'package:kernel/checks.dart';
+import 'package:kernel/verifier.dart';
import 'package:kernel/kernel.dart';
import 'package:kernel/transformations/continuation.dart' as cont;
import 'package:kernel/transformations/infer_values.dart' as infer_values;
@@ -79,7 +79,7 @@ Future<CompilerOutcome> runTransformation(List<String> arguments) async {
throw 'Unknown transformation';
}
- runSanityChecks(program);
+ verifyProgram(program);
if (format == 'text') {
writeProgramToText(program, path: output);
« no previous file with comments | « pkg/kernel/bin/dartk.dart ('k') | pkg/kernel/lib/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698