Skip to content

Commit 0ea40ec

Browse files
committed
rustc_codegen_ssa: rename ArgTypeMethods to ArgAbiMethods.
1 parent 89c8f3a commit 0ea40ec

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/librustc_codegen_llvm/abi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl ArgAbiExt<'ll, 'tcx> for ArgAbi<'tcx, Ty<'tcx>> {
279279
}
280280
}
281281

282-
impl ArgTypeMethods<'tcx> for Builder<'a, 'll, 'tcx> {
282+
impl ArgAbiMethods<'tcx> for Builder<'a, 'll, 'tcx> {
283283
fn store_fn_arg(
284284
&mut self,
285285
arg_abi: &ArgAbi<'tcx, Ty<'tcx>>,

src/librustc_codegen_ssa/traits/builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use super::abi::AbiBuilderMethods;
22
use super::asm::AsmBuilderMethods;
33
use super::debuginfo::DebugInfoBuilderMethods;
44
use super::intrinsic::IntrinsicCallMethods;
5-
use super::type_::ArgTypeMethods;
5+
use super::type_::ArgAbiMethods;
66
use super::{HasCodegen, StaticBuilderMethods};
77
use crate::common::{AtomicOrdering, AtomicRmwBinOp, IntPredicate, RealPredicate,
88
SynchronizationScope};
@@ -25,7 +25,7 @@ pub enum OverflowOp {
2525
pub trait BuilderMethods<'a, 'tcx>:
2626
HasCodegen<'tcx>
2727
+ DebugInfoBuilderMethods<'tcx>
28-
+ ArgTypeMethods<'tcx>
28+
+ ArgAbiMethods<'tcx>
2929
+ AbiBuilderMethods<'tcx>
3030
+ IntrinsicCallMethods<'tcx>
3131
+ AsmBuilderMethods<'tcx>

src/librustc_codegen_ssa/traits/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub use self::intrinsic::IntrinsicCallMethods;
3838
pub use self::misc::MiscMethods;
3939
pub use self::statics::{StaticMethods, StaticBuilderMethods};
4040
pub use self::type_::{
41-
ArgTypeMethods, BaseTypeMethods, DerivedTypeMethods, LayoutTypeMethods, TypeMethods,
41+
ArgAbiMethods, BaseTypeMethods, DerivedTypeMethods, LayoutTypeMethods, TypeMethods,
4242
};
4343
pub use self::write::{ModuleBufferMethods, ThinBufferMethods, WriteBackendMethods};
4444
use rustc::ty::layout::{HasParamEnv, HasTyCtxt};

src/librustc_codegen_ssa/traits/type_.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub trait LayoutTypeMethods<'tcx>: Backend<'tcx> {
110110
) -> Self::Type;
111111
}
112112

113-
pub trait ArgTypeMethods<'tcx>: HasCodegen<'tcx> {
113+
pub trait ArgAbiMethods<'tcx>: HasCodegen<'tcx> {
114114
fn store_fn_arg(
115115
&mut self,
116116
arg_abi: &ArgAbi<'tcx, Ty<'tcx>>,

0 commit comments

Comments
 (0)