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

Unified Diff: tools/testing/dart/compiler_configuration.dart

Issue 2688413004: Add mode to test.dart to run dart2js with kernel, and include initial set of (Closed)
Patch Set: Update status files Created 3 years, 10 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 | « tests/language/language_dart2js.status ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/compiler_configuration.dart
diff --git a/tools/testing/dart/compiler_configuration.dart b/tools/testing/dart/compiler_configuration.dart
index d545b3ff160585c1f50820019c595a70b4ebc44e..22904c2aa63cb2a1eb3b95bd1934d1721f5481fe 100644
--- a/tools/testing/dart/compiler_configuration.dart
+++ b/tools/testing/dart/compiler_configuration.dart
@@ -67,6 +67,7 @@ abstract class CompilerConfiguration {
bool hotReload = configuration['hot_reload'];
bool hotReloadRollback = configuration['hot_reload_rollback'];
bool useFastStartup = configuration['fast_startup'];
+ bool useKernelInDart2js = configuration['dart2js_with_kernel'];
bool verifyKernel = configuration['verify-ir'];
bool useDFE = configuration['useDFE'];
bool useFasta = configuration['useFasta'];
@@ -89,6 +90,7 @@ abstract class CompilerConfiguration {
useSdk: useSdk,
isCsp: isCsp,
useFastStartup: useFastStartup,
+ useKernel: useKernelInDart2js,
extraDart2jsOptions:
TestUtils.getExtraOptions(configuration, 'dart2js_options'));
case 'app_jit':
@@ -535,6 +537,7 @@ class Dart2jsCompilerConfiguration extends Dart2xCompilerConfiguration {
final bool isCsp;
final bool useCps;
final bool useFastStartup;
+ final bool useKernel;
final List<String> extraDart2jsOptions;
// We cache the extended environment to save memory.
static Map<String, String> cpsFlagCache;
@@ -548,6 +551,7 @@ class Dart2jsCompilerConfiguration extends Dart2xCompilerConfiguration {
bool this.useCps,
bool this.isCsp,
bool this.useFastStartup,
+ this.useKernel,
this.extraDart2jsOptions})
: super('dart2js',
isDebug: isDebug,
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698