jit_value_ref

Function jit_value_ref 

Source
pub unsafe extern "C" fn jit_value_ref(
    func: jit_function_t,
    value: jit_value_t,
)
Expand description

Create a reference to the specified value from the current block in func. This will convert a temporary value into a local value if value is being referenced from a different block than its original.

It is not necessary that func be the same function as the one where the value was originally created. It may be a nested function, referring to a local variable in its parent function.