diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-28 07:11:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-28 07:11:11 +0000 |
| commit | fb464108acad905de43b03dd61c5a69ca509a73d (patch) | |
| tree | aa6ef95360aa10acfbd64d92c17755baa0796f9c /compiler/rustc_llvm/llvm-wrapper | |
| parent | 0570fb420f3a37a1e9af69dcf52b1030bdfb6ad6 (diff) | |
| parent | dea3e131d53eccd46703a304d942778b5c6edef6 (diff) | |
| download | rust-fb464108acad905de43b03dd61c5a69ca509a73d.tar.gz rust-fb464108acad905de43b03dd61c5a69ca509a73d.zip | |
Merge pull request #4500 from RalfJung/rustup
Rustup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
| -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); } } |
