1
Fork 0

Remove const_bitcast from ConstMethods

This commit is contained in:
bjorn3 2024-03-30 13:32:05 +00:00
parent 7f445329ec
commit 98e8601ac3
3 changed files with 13 additions and 18 deletions

View file

@ -37,6 +37,5 @@ pub trait ConstMethods<'tcx>: BackendTypes {
fn scalar_to_backend(&self, cv: Scalar, layout: abi::Scalar, llty: Self::Type) -> Self::Value;
fn const_bitcast(&self, val: Self::Value, ty: Self::Type) -> Self::Value;
fn const_ptr_byte_offset(&self, val: Self::Value, offset: abi::Size) -> Self::Value;
}