Index: tools/testing/dart/compiler_configuration.dart |
diff --git a/tools/testing/dart/compiler_configuration.dart b/tools/testing/dart/compiler_configuration.dart |
index a89aad5659e3be262bfc4ea7b1589690178afd38..47c29a107d0bf11bd116e11bd63078bb82cb6e92 100644 |
--- a/tools/testing/dart/compiler_configuration.dart |
+++ b/tools/testing/dart/compiler_configuration.dart |
@@ -61,7 +61,6 @@ abstract class CompilerConfiguration { |
bool useSdk = configuration['use_sdk']; |
bool isCsp = configuration['csp']; |
bool useCps = configuration['cps_ir']; |
- bool useNoopt = configuration['noopt']; |
switch (compiler) { |
case 'dart2analyzer': |
@@ -80,7 +79,7 @@ abstract class CompilerConfiguration { |
case 'none': |
return new NoneCompilerConfiguration( |
isDebug: isDebug, isChecked: isChecked, |
- isHostChecked: isHostChecked, useSdk: useSdk, useNoopt: useNoopt); |
+ isHostChecked: isHostChecked, useSdk: useSdk); |
default: |
throw "Unknown compiler '$compiler'"; |
} |
@@ -142,17 +141,15 @@ abstract class CompilerConfiguration { |
/// The "none" compiler. |
class NoneCompilerConfiguration extends CompilerConfiguration { |
- final bool useNoopt; |
NoneCompilerConfiguration({ |
bool isDebug, |
bool isChecked, |
bool isHostChecked, |
- bool useSdk, |
- bool useNoopt}) |
+ bool useSdk}) |
: super._subclass( |
isDebug: isDebug, isChecked: isChecked, |
- isHostChecked: isHostChecked, useSdk: useSdk), useNoopt = useNoopt; |
+ isHostChecked: isHostChecked, useSdk: useSdk); |
bool get hasCompiler => false; |
@@ -169,9 +166,6 @@ class NoneCompilerConfiguration extends CompilerConfiguration { |
args.add('--enable_asserts'); |
args.add('--enable_type_checks'); |
} |
- if (useNoopt) { |
- args.add('--noopt'); |
- } |
return args |
..addAll(vmOptions) |
..addAll(sharedOptions) |