diff --git a/src/libfuncs/dup.rs b/src/libfuncs/dup.rs index 0ed571bec..728433c3f 100644 --- a/src/libfuncs/dup.rs +++ b/src/libfuncs/dup.rs @@ -42,6 +42,16 @@ pub fn build<'ctx, 'this>( { Some(clone_fn) => { let original_value = entry.argument(0)?.into(); + metadata + .get_mut::() + .unwrap() + .debug_print( + context, + helper, + entry, + &format!("cloning {}", info.signature.param_signatures[0].ty), + location, + )?; let (entry, cloned_value) = clone_fn( context, registry,