Skip to content

Commit 748a44b

Browse files
committed
Rename {ArgAbi,IntrinsicCall}Methods.
They both are part of `BuilderMethods`, and so should have `Builder` in their name like all the other traits in `BuilderMethods`.
1 parent 6ecaca1 commit 748a44b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/intrinsic/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use rustc_codegen_ssa::errors::InvalidMonomorphization;
1313
use rustc_codegen_ssa::mir::operand::{OperandRef, OperandValue};
1414
use rustc_codegen_ssa::mir::place::{PlaceRef, PlaceValue};
1515
use rustc_codegen_ssa::traits::{
16-
ArgAbiMethods, BuilderMethods, ConstMethods, IntrinsicCallMethods,
16+
ArgAbiBuilderMethods, BuilderMethods, ConstMethods, IntrinsicCallBuilderMethods,
1717
};
1818
#[cfg(feature = "master")]
1919
use rustc_codegen_ssa::traits::{BaseTypeMethods, MiscMethods};
@@ -94,7 +94,7 @@ fn get_simple_intrinsic<'gcc, 'tcx>(
9494
Some(cx.context.get_builtin_function(gcc_name))
9595
}
9696

97-
impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
97+
impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
9898
fn codegen_intrinsic_call(
9999
&mut self,
100100
instance: Instance<'tcx>,
@@ -448,7 +448,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
448448
}
449449
}
450450

451-
impl<'a, 'gcc, 'tcx> ArgAbiMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
451+
impl<'a, 'gcc, 'tcx> ArgAbiBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tcx> {
452452
fn store_fn_arg(
453453
&mut self,
454454
arg_abi: &ArgAbi<'tcx, Ty<'tcx>>,

0 commit comments

Comments
 (0)