We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<*const T>::guaranteed_*
1 parent b8169a6 commit 931c07cCopy full SHA for 931c07c
src/intrinsics/mod.rs
@@ -819,20 +819,13 @@ fn codegen_regular_intrinsic_call<'tcx>(
819
ret.write_cvalue(fx, val);
820
}
821
822
- sym::ptr_guaranteed_eq => {
+ sym::ptr_guaranteed_cmp => {
823
intrinsic_args!(fx, args => (a, b); intrinsic);
824
825
let val = crate::num::codegen_ptr_binop(fx, BinOp::Eq, a, b);
826
827
828
829
- sym::ptr_guaranteed_ne => {
830
- intrinsic_args!(fx, args => (a, b); intrinsic);
831
-
832
- let val = crate::num::codegen_ptr_binop(fx, BinOp::Ne, a, b);
833
- ret.write_cvalue(fx, val);
834
- }
835
836
sym::caller_location => {
837
intrinsic_args!(fx, args => (); intrinsic);
838
0 commit comments