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

Unified Diff: pkg/kernel/test/treeshaker_membench.dart

Issue 2918593003: Pass ClassHierarchy instead of creating it. (Closed)
Patch Set: Created 3 years, 7 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
Index: pkg/kernel/test/treeshaker_membench.dart
diff --git a/pkg/kernel/test/treeshaker_membench.dart b/pkg/kernel/test/treeshaker_membench.dart
index 8147445034d8af79e378e4eff95ea53c5adf17a6..8ca99eaca9289afa7157d2fa8247436301d81cf3 100644
--- a/pkg/kernel/test/treeshaker_membench.dart
+++ b/pkg/kernel/test/treeshaker_membench.dart
@@ -45,8 +45,8 @@ main(List<String> args) {
int copyCount = int.parse(options['count']);
TreeShaker buildTreeShaker() {
- return new TreeShaker(coreTypes, program,
- hierarchy: hierarchy, strongMode: strongMode);
+ return new TreeShaker(coreTypes, hierarchy, program,
+ strongMode: strongMode);
}
List<TreeShaker> keepAlive = <TreeShaker>[];

Powered by Google App Engine
This is Rietveld 408576698