Fix a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-04-16 16:52:37 +00:00
parent b391bb8947
commit a44e522b7d

View File

@ -237,7 +237,7 @@ static void SetDebugLoc(const Instruction *I, SelectionDAGBuilder *SDB,
FastIS->setCurDebugLoc(DL);
// If the function doesn't have a default debug location yet, set
// it. This is kind of a hack.
// it. This is a total hack.
if (MF->getDefaultDebugLoc().isUnknown())
MF->setDefaultDebugLoc(DL);
}