diff options
| author | Wesley Wiser <wesleywiser@microsoft.com> | 2023-08-25 19:49:10 -0400 |
|---|---|---|
| committer | Wesley Wiser <wesleywiser@microsoft.com> | 2023-08-25 19:49:10 -0400 |
| commit | d0b2c4f72760915b2503ca14ce3cad305ce7dc52 (patch) | |
| tree | 9333b961138673ea41118ec098f504ade23956c4 /compiler/rustc_codegen_ssa/src/mir/mod.rs | |
| parent | a8b905cd78c4ddfa4a7a517ada260506af4adfad (diff) | |
| download | rust-d0b2c4f72760915b2503ca14ce3cad305ce7dc52.tar.gz rust-d0b2c4f72760915b2503ca14ce3cad305ce7dc52.zip | |
Revert "Use the same DISubprogram for each instance of the same inlined function within the caller"
This reverts commit 687bffa49375aa00bacc51f5d9adfb84a9453e17. Reverting to resolve ICEs reported on nightly.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/mir/mod.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/mod.rs b/compiler/rustc_codegen_ssa/src/mir/mod.rs index 37a209cec5e..3d0c17e9cfb 100644 --- a/compiler/rustc_codegen_ssa/src/mir/mod.rs +++ b/compiler/rustc_codegen_ssa/src/mir/mod.rs @@ -46,7 +46,7 @@ pub struct FunctionCx<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> { mir: &'tcx mir::Body<'tcx>, - debug_context: Option<FunctionDebugContext<'tcx, Bx::DIScope, Bx::DILocation>>, + debug_context: Option<FunctionDebugContext<Bx::DIScope, Bx::DILocation>>, llfn: Bx::Function, |
