rustc_codegen_llvm: rename away the last occurrence of insn
.
This commit is contained in:
parent
29b7c0687e
commit
7fa97c0850
1 changed files with 3 additions and 3 deletions
|
@ -531,9 +531,9 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
|
||||||
|
|
||||||
fn volatile_load(&mut self, ptr: &'ll Value) -> &'ll Value {
|
fn volatile_load(&mut self, ptr: &'ll Value) -> &'ll Value {
|
||||||
unsafe {
|
unsafe {
|
||||||
let insn = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
|
let load = llvm::LLVMBuildLoad(self.llbuilder, ptr, noname());
|
||||||
llvm::LLVMSetVolatile(insn, llvm::True);
|
llvm::LLVMSetVolatile(load, llvm::True);
|
||||||
insn
|
load
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue