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

Unified Diff: bin/function_size_analysis.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/debug_info.dart ('k') | bin/inference/client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/function_size_analysis.dart
diff --git a/bin/function_size_analysis.dart b/bin/function_size_analysis.dart
index ee10def648fa567aea3d1e4f13e0c6fba675eb1a..0de3db42e74f87405bb8fe07fbc4a30e00997a60 100644
--- a/bin/function_size_analysis.dart
+++ b/bin/function_size_analysis.dart
@@ -16,7 +16,7 @@ import 'package:dart2js_info/src/util.dart';
main(args) {
var json = JSON.decode(new File(args[0]).readAsStringSync());
- var info = new AllInfo.fromJson(json);
+ var info = new AllInfoJsonCodec().decode(json);
showCodeDistribution(info);
}
« no previous file with comments | « bin/debug_info.dart ('k') | bin/inference/client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698