LibWasm: Increase the arbitrary local value count per type limit

It was arbitrary, it's still arbitrary, but now it's funny too :^)
This commit is contained in:
Ali Mohammad Pur 2022-03-19 22:29:27 +03:30 committed by Ali Mohammad Pur
parent a6c4b6848b
commit 82a515a748
Notes: sideshowbarker 2024-07-17 17:03:53 +09:00

View File

@ -41,6 +41,6 @@ static constexpr auto page_size = 64 * KiB;
static constexpr auto minimum_stack_space_to_keep_free = 256 * KiB; // Note: Value is arbitrary and chosen by testing with ASAN
static constexpr auto max_allowed_executed_instructions_per_call = 256 * 1024 * 1024;
static constexpr auto max_allowed_vector_size = 2 * MiB;
static constexpr auto max_allowed_function_locals_per_type = 420; // Note: VERY arbitrary.
static constexpr auto max_allowed_function_locals_per_type = 42069; // Note: VERY arbitrary.
}