aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-16 16:52:37 +0000
committerDan Gohman <gohman@apple.com>2010-04-16 16:52:37 +0000
commita44e522b7df67e4a895850b6813e980c3321fb78 (patch)
treebf8441f0f7b85f80b308809626ed3700cd3d359b /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parentb391bb8947e9703e4803d50f24df6caaa8bb0cc9 (diff)
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101477 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c38c8e9cdd..7436bbea72 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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);
}