Remove get_dbg_loc from DebugInfoBuilderMethods
It is only used within cg_llvm.
This commit is contained in:
parent
f383b17668
commit
6c982df82d
1 changed files with 0 additions and 4 deletions
|
|
@ -52,10 +52,6 @@ impl<'a, 'gcc, 'tcx> DebugInfoBuilderMethods for Builder<'a, 'gcc, 'tcx> {
|
|||
fn clear_dbg_loc(&mut self) {
|
||||
self.location = None;
|
||||
}
|
||||
|
||||
fn get_dbg_loc(&self) -> Option<Self::DILocation> {
|
||||
self.location
|
||||
}
|
||||
}
|
||||
|
||||
/// Generate the `debug_context` in an MIR Body.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue