Teach llvm backend how to fall back to default bodies
This commit is contained in:
parent
432635a9ea
commit
9a0743747f
11 changed files with 109 additions and 103 deletions
|
@ -363,7 +363,7 @@ pub fn check_intrinsic_type(
|
|||
),
|
||||
|
||||
sym::const_allocate => {
|
||||
(0, 0, vec![tcx.types.usize, tcx.types.usize], Ty::new_mut_ptr(tcx, tcx.types.u8))
|
||||
(0, 1, vec![tcx.types.usize, tcx.types.usize], Ty::new_mut_ptr(tcx, tcx.types.u8))
|
||||
}
|
||||
sym::const_deallocate => (
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue