rustc_codegen_ssa: rename ArgTypeMethods to ArgAbiMethods.
This commit is contained in:
parent
89c8f3abca
commit
0ea40ec76a
4 changed files with 5 additions and 5 deletions
|
|
@ -279,7 +279,7 @@ impl ArgAbiExt<'ll, 'tcx> for ArgAbi<'tcx, Ty<'tcx>> {
|
|||
}
|
||||
}
|
||||
|
||||
impl ArgTypeMethods<'tcx> for Builder<'a, 'll, 'tcx> {
|
||||
impl ArgAbiMethods<'tcx> for Builder<'a, 'll, 'tcx> {
|
||||
fn store_fn_arg(
|
||||
&mut self,
|
||||
arg_abi: &ArgAbi<'tcx, Ty<'tcx>>,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ use super::abi::AbiBuilderMethods;
|
|||
use super::asm::AsmBuilderMethods;
|
||||
use super::debuginfo::DebugInfoBuilderMethods;
|
||||
use super::intrinsic::IntrinsicCallMethods;
|
||||
use super::type_::ArgTypeMethods;
|
||||
use super::type_::ArgAbiMethods;
|
||||
use super::{HasCodegen, StaticBuilderMethods};
|
||||
use crate::common::{AtomicOrdering, AtomicRmwBinOp, IntPredicate, RealPredicate,
|
||||
SynchronizationScope};
|
||||
|
|
@ -25,7 +25,7 @@ pub enum OverflowOp {
|
|||
pub trait BuilderMethods<'a, 'tcx>:
|
||||
HasCodegen<'tcx>
|
||||
+ DebugInfoBuilderMethods<'tcx>
|
||||
+ ArgTypeMethods<'tcx>
|
||||
+ ArgAbiMethods<'tcx>
|
||||
+ AbiBuilderMethods<'tcx>
|
||||
+ IntrinsicCallMethods<'tcx>
|
||||
+ AsmBuilderMethods<'tcx>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ pub use self::intrinsic::IntrinsicCallMethods;
|
|||
pub use self::misc::MiscMethods;
|
||||
pub use self::statics::{StaticMethods, StaticBuilderMethods};
|
||||
pub use self::type_::{
|
||||
ArgTypeMethods, BaseTypeMethods, DerivedTypeMethods, LayoutTypeMethods, TypeMethods,
|
||||
ArgAbiMethods, BaseTypeMethods, DerivedTypeMethods, LayoutTypeMethods, TypeMethods,
|
||||
};
|
||||
pub use self::write::{ModuleBufferMethods, ThinBufferMethods, WriteBackendMethods};
|
||||
use rustc::ty::layout::{HasParamEnv, HasTyCtxt};
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ pub trait LayoutTypeMethods<'tcx>: Backend<'tcx> {
|
|||
) -> Self::Type;
|
||||
}
|
||||
|
||||
pub trait ArgTypeMethods<'tcx>: HasCodegen<'tcx> {
|
||||
pub trait ArgAbiMethods<'tcx>: HasCodegen<'tcx> {
|
||||
fn store_fn_arg(
|
||||
&mut self,
|
||||
arg_abi: &ArgAbi<'tcx, Ty<'tcx>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue