remove an intrinsic that was moved to rustc
This commit is contained in:
parent
6414003ab9
commit
fd0957f5cd
1 changed files with 0 additions and 8 deletions
|
|
@ -444,14 +444,6 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
|
|||
}
|
||||
}
|
||||
|
||||
"pref_align_of" => {
|
||||
let ty = substs.type_at(0);
|
||||
let layout = this.layout_of(ty)?;
|
||||
let align = layout.align.pref.bytes();
|
||||
let align_val = Scalar::from_machine_usize(align, this);
|
||||
this.write_scalar(align_val, dest)?;
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
| "min_align_of_val"
|
||||
| "align_of_val"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue