Unverified Commit 492d5726 authored by Alexander Markov's avatar Alexander Markov Committed by GitHub

Cleanup obsolete --compact-async compiler option (#118894)

parent ec6ff90a
...@@ -21,8 +21,6 @@ import 'convert.dart'; ...@@ -21,8 +21,6 @@ import 'convert.dart';
/// Opt-in changes to the dart compilers. /// Opt-in changes to the dart compilers.
const List<String> kDartCompilerExperiments = <String>[ const List<String> kDartCompilerExperiments = <String>[
// improve AOT code size.
'--compact-async',
]; ];
/// The target model describes the set of core libraries that are available within /// The target model describes the set of core libraries that are available within
......
...@@ -200,7 +200,6 @@ void main() { ...@@ -200,7 +200,6 @@ void main() {
'--no-print-incremental-dependencies', '--no-print-incremental-dependencies',
'-Ddart.vm.profile=true', '-Ddart.vm.profile=true',
'-Ddart.vm.product=false', '-Ddart.vm.product=false',
'--compact-async',
'--no-link-platform', '--no-link-platform',
'--aot', '--aot',
'--tfa', '--tfa',
...@@ -249,7 +248,6 @@ void main() { ...@@ -249,7 +248,6 @@ void main() {
'--no-print-incremental-dependencies', '--no-print-incremental-dependencies',
'-Ddart.vm.profile=false', '-Ddart.vm.profile=false',
'-Ddart.vm.product=true', '-Ddart.vm.product=true',
'--compact-async',
'--no-link-platform', '--no-link-platform',
'--aot', '--aot',
'--tfa', '--tfa',
......
...@@ -105,13 +105,11 @@ void main() { ...@@ -105,13 +105,11 @@ void main() {
testWithoutContext('buildModeOptions removes matching profile define in profile mode', () { testWithoutContext('buildModeOptions removes matching profile define in profile mode', () {
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=true']), <String>[ expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=true']), <String>[
'-Ddart.vm.product=false', '-Ddart.vm.product=false',
'--compact-async'
]); ]);
}); });
testWithoutContext('buildModeOptions removes both matching profile and release define in profile mode', () { testWithoutContext('buildModeOptions removes both matching profile and release define in profile mode', () {
expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=false', 'dart.vm.product=true']), <String>[ expect(buildModeOptions(BuildMode.profile, <String>['dart.vm.profile=false', 'dart.vm.product=true']), <String>[
'--compact-async'
]); ]);
}); });
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment