projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b391bb8
)
Fix a comment.
author
Dan Gohman
<gohman@apple.com>
Fri, 16 Apr 2010 16:52:37 +0000
(16:52 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 16 Apr 2010 16:52:37 +0000
(16:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101477
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index c38c8e9cddb1c9df42bd983d2f8cd445f36a3415..7436bbea723c3deae1f613555bfb227c7b25e698 100644
(file)
--- 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);
}