diff options
| author | bors <bors@rust-lang.org> | 2025-07-26 07:10:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-26 07:10:59 +0000 |
| commit | 051d0e8a957c98f87ddaf6295c3a3ecd88742ff9 (patch) | |
| tree | df0329c90cb372b179457aef69da6956a4511316 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | f32b23204a0efe2fe8383ed4be1a30b56c1bbf94 (diff) | |
| parent | a230b4ff02b4216bc21e4d3106d87b654041814f (diff) | |
| download | rust-051d0e8a957c98f87ddaf6295c3a3ecd88742ff9.tar.gz rust-051d0e8a957c98f87ddaf6295c3a3ecd88742ff9.zip | |
Auto merge of #144488 - tgross35:rollup-vn0fpot, r=tgross35
Rollup of 9 pull requests Successful merges: - rust-lang/rust#144089 (Rehome 35 `tests/ui/issues/` tests to other subdirectories under `tests/ui/`) - rust-lang/rust#144171 (pattern_analysis: add option to get a full set of witnesses) - rust-lang/rust#144201 (Mention type that could be `Clone` but isn't in more cases) - rust-lang/rust#144316 (bootstrap: Move musl-root fallback out of sanity check) - rust-lang/rust#144339 (Enable dwarf-mixed-versions-lto.rs test on RISC-V (riscv64)) - rust-lang/rust#144341 (Enable const-vector.rs test on RISC-V (riscv64)) - rust-lang/rust#144352 (RustWrapper: Suppress getNextNonDebugInfoInstruction) - rust-lang/rust#144356 (Add `ignore-backends` annotations in failing GCC backend ui tests) - rust-lang/rust#144364 (Update `dlmalloc` dependency of libstd) r? `@ghost` `@rustbot` modify labels: rollup
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); } } |
