Introduce NullOp::AlignOf
This commit is contained in:
parent
b69fe57261
commit
1c3409f333
13 changed files with 54 additions and 33 deletions
|
@ -823,7 +823,7 @@ pub(crate) fn codegen_intrinsic_call<'tcx>(
|
|||
dest.write_cvalue(fx, val);
|
||||
};
|
||||
|
||||
pref_align_of | min_align_of | needs_drop | type_id | type_name | variant_count, () {
|
||||
pref_align_of | needs_drop | type_id | type_name | variant_count, () {
|
||||
let const_val =
|
||||
fx.tcx.const_eval_instance(ParamEnv::reveal_all(), instance, None).unwrap();
|
||||
let val = crate::constant::codegen_const_value(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue