Skip to content

Commit 7fa97c0

Browse files
committed
rustc_codegen_llvm: rename away the last occurrence of insn.
1 parent 29b7c06 commit 7fa97c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_codegen_llvm/builder.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,9 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
531531

532532
fn volatile_load(&mut self, ptr: &'ll Value) -> &'ll Value {
533533
unsafe {
534-
let insn = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
535-
llvm::LLVMSetVolatile(insn, llvm::True);
536-
insn
534+
let load = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
535+
llvm::LLVMSetVolatile(load, llvm::True);
536+
load
537537
}
538538
}
539539

0 commit comments

Comments
 (0)