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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart

Issue 3007443002: Use memory source files in compile_from_dill* (Closed)
Patch Set: Created 3 years, 4 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 | « pkg/compiler/lib/src/library_loader.dart ('k') | tests/compiler/dart2js/kernel/compiler_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
index c557c463d623d65177af2026915bd2a0da0a5113..b5e636375eac6bafb2f9ce0dbd7cc0492a282f7b 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart
@@ -264,14 +264,12 @@ Future<ResultKind> runTest(
EnumCreator.matchKernelRepresentationForTesting = true;
Elements.usePatchedDart2jsSdkSorting = true;
- entryPoint =
- await createTemp(entryPoint, memorySourceFiles, printSteps: true);
-
print('---- compile from ast ----------------------------------------------');
DiagnosticCollector collector = new DiagnosticCollector();
OutputCollector collector1 = new OutputCollector();
Compiler compiler1 = compilerFor(
entryPoint: entryPoint,
+ memorySourceFiles: memorySourceFiles,
diagnosticHandler: collector,
outputProvider: collector1,
options: <String>[]..addAll(commonOptions)..addAll(options));
@@ -297,6 +295,7 @@ Future<ResultKind> runTest(
OutputCollector collector2 = new OutputCollector();
Compiler compiler2 = await compileWithDill(
entryPoint: entryPoint,
+ memorySourceFiles: memorySourceFiles,
options: <String>[]..addAll(commonOptions)..addAll(options),
printSteps: true,
compilerOutput: collector2);
« no previous file with comments | « pkg/compiler/lib/src/library_loader.dart ('k') | tests/compiler/dart2js/kernel/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698