1
Fork 0

remove struct_gep, use manual layout calculations for va_arg

This commit is contained in:
Erik Desjardins 2024-02-24 01:46:30 -05:00
parent 123015e722
commit beed25be9a
6 changed files with 71 additions and 111 deletions

View file

@ -190,7 +190,6 @@ pub trait BuilderMethods<'a, 'tcx>:
ptr: Self::Value,
indices: &[Self::Value],
) -> Self::Value;
fn struct_gep(&mut self, ty: Self::Type, ptr: Self::Value, idx: u64) -> Self::Value;
fn trunc(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value;
fn sext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value;