Make ptr_guaranteed_cmp a rustc_intrinsic and favor its body over backends implementing it
This commit is contained in:
parent
e0d67aeb0b
commit
3e5c468662
4 changed files with 19 additions and 24 deletions
|
@ -441,7 +441,7 @@ pub fn check_intrinsic_type(
|
|||
|
||||
sym::ptr_guaranteed_cmp => (
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
vec![Ty::new_imm_ptr(tcx, param(0)), Ty::new_imm_ptr(tcx, param(0))],
|
||||
tcx.types.u8,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue