Skip to content

Commit 6c982df

Browse files
committed
Remove get_dbg_loc from DebugInfoBuilderMethods
It is only used within cg_llvm.
1 parent f383b17 commit 6c982df

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/debuginfo.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ impl<'a, 'gcc, 'tcx> DebugInfoBuilderMethods for Builder<'a, 'gcc, 'tcx> {
5252
fn clear_dbg_loc(&mut self) {
5353
self.location = None;
5454
}
55-
56-
fn get_dbg_loc(&self) -> Option<Self::DILocation> {
57-
self.location
58-
}
5955
}
6056

6157
/// Generate the `debug_context` in an MIR Body.

0 commit comments

Comments
 (0)