aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-02 20:17:23 +0000
committerChris Lattner <sabre@nondot.org>2010-04-02 20:17:23 +0000
commita4f2bb08de92ccec21cbb3d0a9518384b0173660 (patch)
tree6fd1a316fe066b3fb36bfda096dcc2bb3a1681c9 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parentc7f3ace20c325521c68335a1689645b43b06ddf0 (diff)
downloadexternal_llvm-a4f2bb08de92ccec21cbb3d0a9518384b0173660.tar.gz
external_llvm-a4f2bb08de92ccec21cbb3d0a9518384b0173660.tar.bz2
external_llvm-a4f2bb08de92ccec21cbb3d0a9518384b0173660.zip
stop using DebugLoc::getUnknownLoc()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 963abd905f..d54566b8cd 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -384,9 +384,9 @@ static void SetDebugLoc(Instruction *I, SelectionDAGBuilder *SDB,
/// ResetDebugLoc - Set MF's and SDB's DebugLocs to Unknown.
static void ResetDebugLoc(SelectionDAGBuilder *SDB, FastISel *FastIS) {
- SDB->setCurDebugLoc(DebugLoc::getUnknownLoc());
+ SDB->setCurDebugLoc(DebugLoc());
if (FastIS)
- FastIS->setCurDebugLoc(DebugLoc::getUnknownLoc());
+ FastIS->setCurDebugLoc(DebugLoc());
}
void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB,