rustc_codegen_llvm: rename away the last occurrence of insn.

This commit is contained in:
Eduard-Mihai Burtescu 2019-05-29 01:22:37 +03:00
parent 29b7c0687e
commit 7fa97c0850

View file

@ -531,9 +531,9 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
fn volatile_load(&mut self, ptr: &'ll Value) -> &'ll Value {
unsafe {
let insn = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
llvm::LLVMSetVolatile(insn, llvm::True);
insn
let load = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
llvm::LLVMSetVolatile(load, llvm::True);
load
}
}