diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-01-26 18:33:45 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-01-26 18:33:45 +0000 |
| commit | 0061bb7faf34f89f0227757a04566fe319455eed (patch) | |
| tree | cef2245b866dedcaabf5882b08d427f372258fde /src/vtable.rs | |
| parent | b192f911d5c861030be528d5caa962f887780b38 (diff) | |
Merge commit '3e50cf65025f96854d6597e80449b0d64ad89589' into sync_cg_clif-2024-01-26
Diffstat (limited to 'src/vtable.rs')
| -rw-r--r-- | src/vtable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vtable.rs b/src/vtable.rs index 41ea0b122de..d2254d4c15e 100644 --- a/src/vtable.rs +++ b/src/vtable.rs @@ -95,7 +95,7 @@ pub(crate) fn get_vtable<'tcx>( let alloc_id = fx.tcx.vtable_allocation((ty, trait_ref)); let data_id = data_id_for_alloc_id(&mut fx.constants_cx, &mut *fx.module, alloc_id, Mutability::Not); - let local_data_id = fx.module.declare_data_in_func(data_id, &mut fx.bcx.func); + let local_data_id = fx.module.declare_data_in_func(data_id, fx.bcx.func); if fx.clif_comments.enabled() { fx.add_comment(local_data_id, format!("vtable: {:?}", alloc_id)); } |
