Skip to content

Commit 21056f8

Browse files
committed
Likely unlikely fix
1 parent 415c502 commit 21056f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/intrinsic/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
139139
&args.iter().map(|arg| arg.immediate()).collect::<Vec<_>>(),
140140
)
141141
}
142-
sym::likely => self.expect(args[0].immediate(), true),
143-
sym::unlikely => self.expect(args[0].immediate(), false),
144142
sym::is_val_statically_known => {
145143
let a = args[0].immediate();
146144
let builtin = self.context.get_builtin_function("__builtin_constant_p");

0 commit comments

Comments
 (0)