about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/asm.rs
diff options
context:
space:
mode:
authorDenis Merigoux <denis.merigoux@gmail.com>2018-10-05 15:08:49 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2018-11-16 15:08:18 +0200
commit54dd3a47fd54eb466dad7e47b41ec1b5b2dafd5a (patch)
treef2507cb57a8212eed8a963415ac5db2a4bccc8a8 /src/librustc_codegen_llvm/asm.rs
parent1ebdfbb02641676fb4f8efb1f87cfe8d0d29d2b3 (diff)
downloadrust-54dd3a47fd54eb466dad7e47b41ec1b5b2dafd5a.tar.gz
rust-54dd3a47fd54eb466dad7e47b41ec1b5b2dafd5a.zip
All Builder methods now take &mut self instead of &self
Diffstat (limited to 'src/librustc_codegen_llvm/asm.rs')
-rw-r--r--src/librustc_codegen_llvm/asm.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/asm.rs b/src/librustc_codegen_llvm/asm.rs
index c0e7f949809..8bb88ba5a83 100644
--- a/src/librustc_codegen_llvm/asm.rs
+++ b/src/librustc_codegen_llvm/asm.rs
@@ -26,7 +26,7 @@ use libc::{c_uint, c_char};
 
 impl AsmBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> {
     fn codegen_inline_asm(
-        &self,
+        &mut self,
         ia: &hir::InlineAsm,
         outputs: Vec<PlaceRef<'tcx, &'ll Value>>,
         mut inputs: Vec<&'ll Value>