fn rewrite_lambda_index_arg(&self, cp: CodePtrMut, n: isize) {
    let lambda_i = unsafe { LTerm::from_raw(cp.read_n(n)) };
    let lambda_p = &self.lambdas[lambda_i.small_get_u()] as *const FunEntry;
    let lambda_term = make_cp(lambda_p as *const Word);
    unsafe { cp.write_n(n, lambda_term.raw()) }
  }
/// Given a pointer to a `make_fun2` or similar opcode with a lambda index
/// argument, replace it with a raw pointer to a loaded `FunEntry`.
/// The `FunEntry` will be owned by the module we're loading, and will be
/// freed together with the code, so it should be safe to use the pointer.
Given a pointer to a `make_fun2` or similar opcode with a lambda index
argument, replace it with a raw pointer to a loaded `FunEntry`.
The `FunEntry` will be owned by the module we're loading, and will be
freed together with the code, so it should be safe to use the pointer.
Given a pointer to a ` make_fun2 ` or similar opcode with a lambda index argument replace it with a raw pointer to a loaded ` FunEntry ` . The ` FunEntry ` will be owned by the module we ' re loading and will be freed together with the code so it should be safe to use the pointer .
fn rewrite_lambda_index_arg(&self, cp: CodePtrMut, n: isize) {
    let lambda_i = unsafe { LTerm::from_raw(cp.read_n(n)) };
    let lambda_p = &self.lambdas[lambda_i.small_get_u()] as *const FunEntry;
    let lambda_term = make_cp(lambda_p as *const Word);
    unsafe { cp.write_n(n, lambda_term.raw()) }
  }
fn rewrite_lambda_index_arg ( & self , cp : CodePtrMut , n : isize ) { let lambda_i = unsafe { LTerm :: from_raw ( cp . read_n ( n ) ) } ; let lambda_p = & self . lambdas [ lambda_i . small_get_u ( ) ] as * const FunEntry ; let lambda_term = make_cp ( lambda_p as * const Word ) ; unsafe { cp . write_n ( n , lambda_term . raw ( ) ) } }
Given a pointer to a `make_fun2` or similar opcode with a lambda index
argument, replace it with a raw pointer to a loaded `FunEntry`.
Given a pointer to a ` make_fun2 ` or similar opcode with a lambda index argument replace it with a raw pointer to a loaded ` FunEntry ` .
&self
cp
CodePtrMut
n
isize