mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-19 08:35:45 +00:00
Remove DebugLoc::print(LLVMContext, raw_ostream), it was just
forwarding to the one that didn't take a context. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -488,7 +488,7 @@ static std::string getDebugLocString(const Loop *L) {
|
||||
raw_string_ostream OS(Result);
|
||||
const DebugLoc LoopDbgLoc = L->getStartLoc();
|
||||
if (!LoopDbgLoc.isUnknown())
|
||||
LoopDbgLoc.print(L->getHeader()->getContext(), OS);
|
||||
LoopDbgLoc.print(OS);
|
||||
else
|
||||
// Just print the module name.
|
||||
OS << L->getHeader()->getParent()->getParent()->getModuleIdentifier();
|
||||
|
||||
Reference in New Issue
Block a user