about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/vtable.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-06-12 13:44:19 +0200
committerRalf Jung <post@ralfj.de>2025-06-12 17:50:25 +0200
commit62418f4c56e57a591d51ba24ccbd6c7271ce4cb5 (patch)
treeee8157cfa424d1d244d61feba1638bc43ce1edc6 /compiler/rustc_codegen_cranelift/src/vtable.rs
parentfd50e1012f79eb93f661adc6f276335e4cfb34ea (diff)
downloadrust-62418f4c56e57a591d51ba24ccbd6c7271ce4cb5.tar.gz
rust-62418f4c56e57a591d51ba24ccbd6c7271ce4cb5.zip
intrinsics: rename min_align_of to align_of
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/vtable.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/vtable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/vtable.rs b/compiler/rustc_codegen_cranelift/src/vtable.rs
index 05a8e3c3342..1fae56949bc 100644
--- a/compiler/rustc_codegen_cranelift/src/vtable.rs
+++ b/compiler/rustc_codegen_cranelift/src/vtable.rs
@@ -31,7 +31,7 @@ pub(crate) fn size_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Value) -> Val
     )
 }
 
-pub(crate) fn min_align_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Value) -> Value {
+pub(crate) fn align_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Value) -> Value {
     let usize_size = fx.layout_of(fx.tcx.types.usize).size.bytes() as usize;
     fx.bcx.ins().load(
         fx.pointer_type,