Skip to content

Commit 1be1d4a

Browse files
committed
Remove undefined unlikely! macro
1 parent f1c72be commit 1be1d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@ impl<'tcx> LayoutCx<'tcx, TyCtxt<'tcx>> {
33813381

33823382
if arg.layout.is_unsized() || size > max_by_val_size {
33833383
arg.make_indirect();
3384-
} else if size > ptr_size && unlikely!(self.has_all_float(&arg.layout)) {
3384+
} else if size > ptr_size && self.has_all_float(&arg.layout) {
33853385
// We don't want to aggregate floats as an aggregates of Integer
33863386
// because this will hurt the generated assembly (#93490) but as an
33873387
// optimization we want to pass homogeneous aggregate of floats

0 commit comments

Comments
 (0)