Skip to content

Commit 13d5c03

Browse files
committed
Split memory related methods out of BuilderMethods and move get_param from Cx to Bx
1 parent d24125e commit 13d5c03

File tree

13 files changed

+551
-546
lines changed

13 files changed

+551
-546
lines changed

src/librustc_codegen_llvm/abi.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,4 +859,8 @@ impl AbiBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> {
859859
) {
860860
ty.apply_attrs_callsite(self, callsite)
861861
}
862+
863+
fn get_param(&self, index: usize) -> Self::Value {
864+
llvm::get_param(self.llfn(), index as c_uint)
865+
}
862866
}

0 commit comments

Comments
 (0)