Skip to content

Commit aa6d02f

Browse files
committed
Give const_deallocate a default body
1 parent bd14c7b commit aa6d02f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/intrinsics/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1229,11 +1229,6 @@ fn codegen_regular_intrinsic_call<'tcx>(
12291229
ret.write_cvalue(fx, CValue::by_val(cmp, ret.layout()));
12301230
}
12311231

1232-
sym::const_deallocate => {
1233-
intrinsic_args!(fx, args => (_ptr, _size, _align); intrinsic);
1234-
// nop at runtime.
1235-
}
1236-
12371232
sym::black_box => {
12381233
intrinsic_args!(fx, args => (a); intrinsic);
12391234

0 commit comments

Comments
 (0)