optimize(value): less clone
This commit is contained in:
@@ -289,7 +289,7 @@ impl<'vm, 'ctx: 'vm> JITContext<'ctx> {
|
||||
.new_thunk(Rc::into_raw(Rc::new(Thunk::new(vm.get_thunk(idx))))),
|
||||
)?,
|
||||
OpCode::CaptureEnv => {
|
||||
let thunk = *stack.tos()?;
|
||||
let thunk = *stack.tos();
|
||||
self.builder.build_direct_call(
|
||||
self.helpers.capture_env,
|
||||
&[thunk.into(), env.into()],
|
||||
|
||||
Reference in New Issue
Block a user