mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Remove MachineFunction's DefaultDebugLoc member, and make DwarfDebug.cpp
responsible for figuring out what that's supposed to be on its own. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -235,11 +235,6 @@ static void SetDebugLoc(const Instruction *I, SelectionDAGBuilder *SDB,
|
||||
|
||||
if (FastIS)
|
||||
FastIS->setCurDebugLoc(DL);
|
||||
|
||||
// If the function doesn't have a default debug location yet, set
|
||||
// it. This is a total hack.
|
||||
if (MF->getDefaultDebugLoc().isUnknown())
|
||||
MF->setDefaultDebugLoc(DL);
|
||||
}
|
||||
|
||||
/// ResetDebugLoc - Set MF's and SDB's DebugLocs to Unknown.
|
||||
|
Reference in New Issue
Block a user