Index: pkg/kernel/test/interpreter/suite.dart |
diff --git a/pkg/kernel/test/interpreter/suite.dart b/pkg/kernel/test/interpreter/suite.dart |
index 5ad53aac824317edc178270d42282f40eae039d8..cba9b0b967db165ee5f3e599bedc1001ad142c16 100644 |
--- a/pkg/kernel/test/interpreter/suite.dart |
+++ b/pkg/kernel/test/interpreter/suite.dart |
@@ -35,6 +35,8 @@ import 'package:front_end/src/fasta/testing/patched_sdk_location.dart'; |
import 'package:kernel/kernel.dart' show loadProgramFromBinary; |
+import 'package:kernel/target/targets.dart' show TargetFlags; |
+ |
import 'package:kernel/interpreter/interpreter.dart'; |
const String STRONG_MODE = " strong mode "; |
@@ -80,11 +82,13 @@ class FastaCompile extends Step<TestDescription, Program, InterpreterContext> { |
TestDescription description, InterpreterContext context) async { |
Program platform = await context.loadPlatform(); |
Ticker ticker = new Ticker(); |
- DillTarget dillTarget = new DillTarget(ticker, context.uriTranslator, "vm"); |
+ DillTarget dillTarget = new DillTarget( |
+ ticker, context.uriTranslator, "vm_fasta", |
+ flags: new TargetFlags(strongMode: context.strongMode)); |
platform.unbindCanonicalNames(); |
dillTarget.loader.appendLibraries(platform); |
- KernelTarget sourceTarget = new KernelTarget(PhysicalFileSystem.instance, |
- dillTarget, context.uriTranslator, context.strongMode); |
+ KernelTarget sourceTarget = new KernelTarget( |
+ PhysicalFileSystem.instance, dillTarget, context.uriTranslator); |
Program p; |
try { |