Index: tools/testing/dart/compiler_configuration.dart |
diff --git a/tools/testing/dart/compiler_configuration.dart b/tools/testing/dart/compiler_configuration.dart |
index 7b3a837339238ba0e54d971a6a460718836c5ad0..fc1d536e0e0f649d5a505dc54ddb237e28e9e9f6 100644 |
--- a/tools/testing/dart/compiler_configuration.dart |
+++ b/tools/testing/dart/compiler_configuration.dart |
@@ -155,12 +155,7 @@ class NoneCompilerConfiguration extends CompilerConfiguration { |
List<String> sharedOptions, |
List<String> originalArguments, |
CommandArtifact artifact) { |
- List<String> args = []; |
- if (isChecked) { |
- args.add('--enable_asserts'); |
- args.add('--enable_type_checks'); |
- } |
- return args |
+ return <String>[] |
..addAll(vmOptions) |
..addAll(sharedOptions) |
..addAll(originalArguments); |