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

Unified Diff: bin/verify_deps.dart

Issue 1411523003: add a JsonInfoCodec class (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 5 years, 2 months 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 | « bin/live_code_size_analysis.dart ('k') | lib/info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/verify_deps.dart
diff --git a/bin/verify_deps.dart b/bin/verify_deps.dart
index 3da8ece9da39767e7e7d7a1b44b9104e2bc3f11b..61542c70d16bef833cc8db9288960b63e638bd12 100644
--- a/bin/verify_deps.dart
+++ b/bin/verify_deps.dart
@@ -24,7 +24,7 @@ Future main(List<String> args) async {
exit(1);
}
var json = JSON.decode(await new File(args[0]).readAsString());
- var info = new AllInfo.fromJson(json);
+ var info = new AllInfoJsonCodec().decode(json);
var graph = graphFromInfo(info);
var entrypoint = info.program.entrypoint;
var reachables = findReachable(graph, entrypoint);
« no previous file with comments | « bin/live_code_size_analysis.dart ('k') | lib/info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698