swc_ecma_utils::stack_size

Function maybe_grow

Source
pub fn maybe_grow<R, F: FnOnce() -> R>(
    red_zone: usize,
    stack_size: usize,
    callback: F,
) -> R
Expand description

Calls callback with a larger stack size.