Skip to content

Commit 6913f75

Browse files
committed
Fix align_of intrinsics
Following rust-lang/rust#142410
1 parent 21da90e commit 6913f75

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

compiler/src/passes/instr/decision.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ mod intrinsics {
297297
ptr_metadata,
298298
discriminant_value,
299299
offset,
300-
min_align_of,
300+
align_of,
301301
add_with_overflow,
302302
sub_with_overflow,
303303
mul_with_overflow,
@@ -330,9 +330,8 @@ mod intrinsics {
330330
type_name,
331331
type_id,
332332
ptr_guaranteed_cmp,
333-
pref_align_of,
334333
needs_drop,
335-
min_align_of_val,
334+
align_of_val,
336335
// FIXME: These two are probably not intrinsics anymore.
337336
likely,
338337
unlikely,

0 commit comments

Comments
 (0)