Allow providing max_cache_entry flag to Dart (flutter/engine#31881)

This commit is contained in:
Jonah Williams
2022-03-07 14:21:02 -08:00
committed by GitHub
parent 179876fe94
commit 257234a32a
2 changed files with 2 additions and 0 deletions

View File

@@ -535,6 +535,7 @@ TEST_F(ShellTest,
#if !FLUTTER_RELEASE
flags.push_back("--max_profile_depth 1");
flags.push_back("--random_seed 42");
flags.push_back("--max_subtype_cache_entries=22");
if (!DartVM::IsRunningPrecompiledCode()) {
flags.push_back("--enable_mirrors");
}

View File

@@ -68,6 +68,7 @@ static const std::string gAllowedDartFlags[] = {
"--strict_null_safety_checks",
"--enable-display-list",
"--no-enable-display-list",
"--max_subtype_cache_entries",
};
// clang-format on