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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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/front_end/lib/src/fasta/fasta.dart ('k') | pkg/front_end/lib/src/fasta/testing/kernel_chain.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index 2abba433b4e3839b276cc50f741d50512a0fd145..7eb8f115e98718c72e2685348670721a175c2713 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -92,6 +92,8 @@ import 'kernel_builder.dart'
import 'verifier.dart' show verifyProgram;
class KernelTarget extends TargetImplementation {
+ final bool strongMode;
+
final DillTarget dillTarget;
/// Shared with [CompilerContext].
@@ -105,7 +107,8 @@ class KernelTarget extends TargetImplementation {
final TypeBuilder dynamicType =
new KernelNamedTypeBuilder("dynamic", null, -1, null);
- KernelTarget(DillTarget dillTarget, TranslateUri uriTranslator,
+ KernelTarget(
+ DillTarget dillTarget, TranslateUri uriTranslator, this.strongMode,
[Map<String, Source> uriToSource])
: dillTarget = dillTarget,
uriToSource = uriToSource ?? CompilerContext.current.uriToSource,
« no previous file with comments | « pkg/front_end/lib/src/fasta/fasta.dart ('k') | pkg/front_end/lib/src/fasta/testing/kernel_chain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698