Code cleanup.
Last minute code clean up to fix some comments and rename `address_space_size` to `memory_reservation_size` to better describe what the option is doing.
This commit is contained in:
@@ -33,7 +33,7 @@ impl MemoryStyle {
|
||||
let maximum = std::cmp::min(
|
||||
memory.maximum.unwrap_or(WASM_MAX_PAGES),
|
||||
if tunables.static_memory_bound_is_maximum {
|
||||
tunables.static_memory_bound
|
||||
std::cmp::min(tunables.static_memory_bound, WASM_MAX_PAGES)
|
||||
} else {
|
||||
WASM_MAX_PAGES
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user