summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit6453a4e2abd63b71d1193f6e485228e255364ed0 (patch)
treef8d5279804e36153bb3eb1da3789602c3bf5ed90 /llvm
parentcc70e3b60de8d441b756ebbf7dbf6661bcc28aba (diff)
downloadbcm5719-llvm-6453a4e2abd63b71d1193f6e485228e255364ed0.tar.gz
bcm5719-llvm-6453a4e2abd63b71d1193f6e485228e255364ed0.zip
Fix this to properly clear the FastISel debug location. Thanks to
Bill for spotting this! llvm-svn: 91355
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 93b56e1f946..a640c7dc208 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud