sl_compiler::load_eval

Function exec_unrooted_chunk

Source
pub fn exec_unrooted_chunk(
    vm: &mut SloshVm,
    chunk: Arc<Chunk>,
) -> VMResult<Value>
Expand description

Execute a chunk that may not be rooted, will make sure any allocated consts don’t get GCed out from under it…