mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
rustc_codegen_llvm: rename away the last occurrence of insn.
This commit is contained in:
@@ -531,9 +531,9 @@ fn load(&mut self, ptr: &'ll Value, align: Align) -> &'ll Value {
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user