diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-28 08:40:40 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-07-28 08:40:40 +0200 |
| commit | 8bf32513ed5aae90068d592c7de314a75ba8e0af (patch) | |
| tree | fc1f7740fc17c8c9644dfdf056c5d0501d082480 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fbd553e8e579887210e7a8e71f41f631d3054e67 (diff) | |
| parent | 733dab558992d902d6d17576de1da768094e2cf3 (diff) | |
| download | rust-8bf32513ed5aae90068d592c7de314a75ba8e0af.tar.gz rust-8bf32513ed5aae90068d592c7de314a75ba8e0af.zip | |
Merge commit 'abd9cba5acbcc35fb4cc59ce25580fa1624b5571'
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 82568ed4ae1..c9814beedd6 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1610,7 +1610,7 @@ extern "C" void LLVMRustPositionBefore(LLVMBuilderRef B, LLVMValueRef Instr) { extern "C" void LLVMRustPositionAfter(LLVMBuilderRef B, LLVMValueRef Instr) { if (auto I = dyn_cast<Instruction>(unwrap<Value>(Instr))) { - auto J = I->getNextNonDebugInstruction(); + auto J = I->getNextNode(); unwrap(B)->SetInsertPoint(J); } } |
