commit | 688fb80334e1ad7b259a051411bb72e18abea9e7 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Dec 14 23:08:09 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Dec 14 23:08:09 2009 +0000 |
tree | 376e61c6225588ba4b7705d535a1d24a2b26fad7 | |
parent | d934b63ed1f37c2adbc956963c115fdf3cc4e8ff [diff] [blame] |
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
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 @@ FastISel *FastIS) { SDB->setCurDebugLoc(DebugLoc::getUnknownLoc()); if (FastIS) - SDB->setCurDebugLoc(DebugLoc::getUnknownLoc()); + FastIS->setCurDebugLoc(DebugLoc::getUnknownLoc()); } void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB,