Index: pkg/front_end/tool/perf.dart |
diff --git a/pkg/front_end/tool/perf.dart b/pkg/front_end/tool/perf.dart |
index 4d61e9bdfb5f6e5cdce755ef7172cd241d0d97a9..c5f2ec4704862124574a4053b7519f89397e169a 100644 |
--- a/pkg/front_end/tool/perf.dart |
+++ b/pkg/front_end/tool/perf.dart |
@@ -241,7 +241,7 @@ Future<Program> generateKernel(Uri entryUri) async { |
var repository = new Repository(); |
DartLoader loader = new DartLoader(repository, options, packages); |
- Program program = loader.loadProgram(entryUri.path); |
+ Program program = loader.loadProgram(entryUri); |
List errors = loader.errors; |
if (errors.isNotEmpty) { |
const int errorLimit = 100; |