aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-14 23:08:09 +0000
committerDan Gohman <gohman@apple.com>2009-12-14 23:08:09 +0000
commit688fb80334e1ad7b259a051411bb72e18abea9e7 (patch)
tree376e61c6225588ba4b7705d535a1d24a2b26fad7
parentd934b63ed1f37c2adbc956963c115fdf3cc4e8ff (diff)
downloadexternal_llvm-688fb80334e1ad7b259a051411bb72e18abea9e7.zip
external_llvm-688fb80334e1ad7b259a051411bb72e18abea9e7.tar.gz
external_llvm-688fb80334e1ad7b259a051411bb72e18abea9e7.tar.bz2
Fix this to properly clear the FastISel debug location. Thanks to
Bill for spotting this! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91355 91177308-0d34-0410-b5e6-96231b3b80d8
-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 93b56e1..a640c7d 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -390,7 +390,7 @@ static void ResetDebugLoc(SelectionDAGBuilder *SDB,
FastISel *FastIS) {
SDB->setCurDebugLoc(DebugLoc::getUnknownLoc());
if (FastIS)
- SDB->setCurDebugLoc(DebugLoc::getUnknownLoc());
+ FastIS->setCurDebugLoc(DebugLoc::getUnknownLoc());
}
void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB,