Skip to main content

rebase_program

Function rebase_program 

Source
pub fn rebase_program(prog: &mut Program, func_off: usize, try_off: usize)
Expand description

Rebase every func-id and try-id reference so its ids sit above those already loaded on the host (needed only for incremental loading; a no-op for a single run).