mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Give const_deallocate a default body
This commit is contained in:
parent
bd14c7b8e5
commit
aa6d02f368
@ -1229,11 +1229,6 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
|||||||
ret.write_cvalue(fx, CValue::by_val(cmp, ret.layout()));
|
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 => {
|
sym::black_box => {
|
||||||
intrinsic_args!(fx, args => (a); intrinsic);
|
intrinsic_args!(fx, args => (a); intrinsic);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user