diff --git a/src/librustc_codegen_llvm/builder.rs b/src/librustc_codegen_llvm/builder.rs index 640e3128119d8..3f34cc5f33fd9 100644 --- a/src/librustc_codegen_llvm/builder.rs +++ b/src/librustc_codegen_llvm/builder.rs @@ -1309,7 +1309,12 @@ impl Builder<'a, 'll, 'tcx> { } } - pub fn shuffle_vector(&mut self, v1: &'ll Value, v2: &'ll Value, mask: &'ll Value) -> &'ll Value { + pub fn shuffle_vector( + &mut self, + v1: &'ll Value, + v2: &'ll Value, + mask: &'ll Value, + ) -> &'ll Value { self.count_insn("shufflevector"); unsafe { llvm::LLVMBuildShuffleVector(self.llbuilder, v1, v2, mask, noname()) diff --git a/src/librustc_codegen_ssa/mir/operand.rs b/src/librustc_codegen_ssa/mir/operand.rs index 3a968a753e081..6a8ca3d69f16c 100644 --- a/src/librustc_codegen_ssa/mir/operand.rs +++ b/src/librustc_codegen_ssa/mir/operand.rs @@ -277,7 +277,9 @@ impl<'a, 'tcx: 'a, V: CodegenObject> OperandValue { self.store_with_flags(bx, dest, MemFlags::VOLATILE); } - pub fn unaligned_volatile_store + NumBuilderMethods<'tcx>>( + pub fn unaligned_volatile_store< + Bx: MemoryBuilderMethods<'tcx, Value = V> + NumBuilderMethods<'tcx> + >( self, bx: &mut Bx, dest: PlaceRef<'tcx, V>,