diff options
| author | Dan Gohman <gohman@apple.com> | 2009-12-14 23:08:09 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-12-14 23:08:09 +0000 |
| commit | 6453a4e2abd63b71d1193f6e485228e255364ed0 (patch) | |
| tree | f8d5279804e36153bb3eb1da3789602c3bf5ed90 /llvm | |
| parent | cc70e3b60de8d441b756ebbf7dbf6661bcc28aba (diff) | |
| download | bcm5719-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.cpp | 2 |
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, |

