1
Fork 0

Give const_deallocate a default body

This commit is contained in:
Oli Scherer 2024-01-31 20:51:29 +00:00
parent 9a0743747f
commit 6b73fe2d09
4 changed files with 18 additions and 25 deletions

View file

@ -1229,11 +1229,6 @@ fn codegen_regular_intrinsic_call<'tcx>(
ret.write_cvalue(fx, CValue::by_val(cmp, ret.layout()));
}
sym::const_deallocate => {
intrinsic_args!(fx, args => (_ptr, _size, _align); intrinsic);
// nop at runtime.
}
sym::black_box => {
intrinsic_args!(fx, args => (a); intrinsic);