2018-11-24 16:30:29 +01:00
|
|
|
use super::BackendTypes;
|
2020-03-29 16:41:09 +02:00
|
|
|
use rustc_middle::ty::Ty;
|
2019-10-29 16:35:26 +02:00
|
|
|
use rustc_target::abi::call::FnAbi;
|
2018-09-20 15:47:22 +02:00
|
|
|
|
2018-11-24 16:30:29 +01:00
|
|
|
pub trait AbiBuilderMethods<'tcx>: BackendTypes {
|
2019-10-29 16:35:26 +02:00
|
|
|
fn apply_attrs_callsite(&mut self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>, callsite: Self::Value);
|
2021-11-23 22:30:20 -05:00
|
|
|
fn get_param(&mut self, index: usize) -> Self::Value;
|
2018-09-20 15:47:22 +02:00
|
|
|
}
|