Remove an unused lifetime param
This commit is contained in:
parent
396baa750e
commit
29440b84a9
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ use crate::context::CodegenCx;
|
||||||
use crate::intrinsic::ArgAbiExt;
|
use crate::intrinsic::ArgAbiExt;
|
||||||
use crate::type_of::LayoutGccExt;
|
use crate::type_of::LayoutGccExt;
|
||||||
|
|
||||||
impl<'a, 'gcc, 'tcx> AbiBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
|
impl AbiBuilderMethods for Builder<'_, '_, '_> {
|
||||||
fn get_param(&mut self, index: usize) -> Self::Value {
|
fn get_param(&mut self, index: usize) -> Self::Value {
|
||||||
let func = self.current_func();
|
let func = self.current_func();
|
||||||
let param = func.get_param(index as i32);
|
let param = func.get_param(index as i32);
|
||||||
|
|
|
@ -654,7 +654,7 @@ impl<'ll, 'tcx> FnAbiLlvmExt<'ll, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'tcx> AbiBuilderMethods<'tcx> for Builder<'_, '_, 'tcx> {
|
impl AbiBuilderMethods for Builder<'_, '_, '_> {
|
||||||
fn get_param(&mut self, index: usize) -> Self::Value {
|
fn get_param(&mut self, index: usize) -> Self::Value {
|
||||||
llvm::get_param(self.llfn(), index as c_uint)
|
llvm::get_param(self.llfn(), index as c_uint)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use super::BackendTypes;
|
use super::BackendTypes;
|
||||||
|
|
||||||
pub trait AbiBuilderMethods<'tcx>: BackendTypes {
|
pub trait AbiBuilderMethods: BackendTypes {
|
||||||
fn get_param(&mut self, index: usize) -> Self::Value;
|
fn get_param(&mut self, index: usize) -> Self::Value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,7 +40,7 @@ pub trait BuilderMethods<'a, 'tcx>:
|
||||||
+ CoverageInfoBuilderMethods<'tcx>
|
+ CoverageInfoBuilderMethods<'tcx>
|
||||||
+ DebugInfoBuilderMethods
|
+ DebugInfoBuilderMethods
|
||||||
+ ArgAbiBuilderMethods<'tcx>
|
+ ArgAbiBuilderMethods<'tcx>
|
||||||
+ AbiBuilderMethods<'tcx>
|
+ AbiBuilderMethods
|
||||||
+ IntrinsicCallBuilderMethods<'tcx>
|
+ IntrinsicCallBuilderMethods<'tcx>
|
||||||
+ AsmBuilderMethods<'tcx>
|
+ AsmBuilderMethods<'tcx>
|
||||||
+ StaticBuilderMethods
|
+ StaticBuilderMethods
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue