[VM/Runtime] - Remove unused sound_null_safety command line option.

TEST=ci
Change-Id: I9c471e809b2c218e75be5e938479ee8b6a76908b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365621
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
asiva 2024-06-12 20:51:31 +00:00 committed by Commit Queue
parent f3cc30ab41
commit 418858b725
2 changed files with 2 additions and 8 deletions

View file

@ -112,16 +112,13 @@ static const char* const kSnapshotKindNames[] = {
V(save_debugging_info, debugging_info_filename) \
V(save_obfuscation_map, obfuscation_map_filename)
// We define sound_null_safety as an unused option here just to make sure
// scripts that were passing in this option do not break.
#define BOOL_OPTIONS_LIST(V) \
V(compile_all, compile_all) \
V(help, help) \
V(obfuscate, obfuscate) \
V(strip, strip) \
V(verbose, verbose) \
V(version, version) \
V(sound_null_safety, sound_null_safety)
V(version, version)
#define STRING_OPTION_DEFINITION(flag, variable) \
static const char* variable = nullptr; \

View file

@ -30,8 +30,6 @@ namespace bin {
// As STRING_OPTIONS_LIST but for boolean valued options. The default value is
// always false, and the presence of the flag switches the value to true.
// we define sound_null_safety as an unused option here just to make sure
// scripts that were passing in this option do not break.
#define BOOL_OPTIONS_LIST(V) \
V(version, version_option) \
V(compile_all, compile_all) \
@ -55,8 +53,7 @@ namespace bin {
V(serve_devtools, enable_devtools) \
V(no_serve_observatory, disable_observatory) \
V(serve_observatory, enable_observatory) \
V(print_dtd, print_dtd) \
V(sound_null_safety, sound_null_safety)
V(print_dtd, print_dtd)
// Boolean flags that have a short form.
#define SHORT_BOOL_OPTIONS_LIST(V) \