Index: pkg/kernel/test/frontend_bench.dart |
diff --git a/pkg/kernel/test/frontend_bench.dart b/pkg/kernel/test/frontend_bench.dart |
index 796d064a2c93cc3e984a4e7a6d551f8235a117d5..9ca6abcd6311c66bf49a27311e0ff14a483950c8 100644 |
--- a/pkg/kernel/test/frontend_bench.dart |
+++ b/pkg/kernel/test/frontend_bench.dart |
@@ -45,6 +45,7 @@ main(List<String> args) { |
bool strongMode = options['strong']; |
String path = options.rest.single; |
+ var uri = new Uri(scheme: 'file', path: new File(path).absolute.path); |
var packages = |
getPackagesDirectory(new Uri(scheme: 'file', path: packagePath)); |
Repository repository = new Repository(); |
@@ -54,7 +55,7 @@ main(List<String> args) { |
new DartOptions( |
strongMode: strongMode, sdk: sdk, packagePath: packagePath), |
packages) |
- .loadProgram(path); |
+ .loadProgram(uri); |
CacheEntry.recomputedCounts.forEach((key, value) { |
print('Recomputed $key $value times'); |