summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineSSAUpdater.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
commitbd009d6d6d40113ec41df9dce5617e0db345b3ab (patch)
treeb21a7b0eb3edb4706d7c7bc04bef6f599438efd2 /llvm/lib/CodeGen/MachineSSAUpdater.cpp
parent6f306d7d3022f4523744ef21143dc9151af9ffd0 (diff)
downloadbcm5719-llvm-bd009d6d6d40113ec41df9dce5617e0db345b3ab.tar.gz
bcm5719-llvm-bd009d6d6d40113ec41df9dce5617e0db345b3ab.zip
stop using DebugLoc::getUnknownLoc()
llvm-svn: 100215
Diffstat (limited to 'llvm/lib/CodeGen/MachineSSAUpdater.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineSSAUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineSSAUpdater.cpp b/llvm/lib/CodeGen/MachineSSAUpdater.cpp
index 2255dc33965..b79cdbb660d 100644
--- a/llvm/lib/CodeGen/MachineSSAUpdater.cpp
+++ b/llvm/lib/CodeGen/MachineSSAUpdater.cpp
@@ -125,7 +125,7 @@ MachineInstr *InsertNewDef(unsigned Opcode,
const TargetRegisterClass *RC,
MachineRegisterInfo *MRI, const TargetInstrInfo *TII) {
unsigned NewVR = MRI->createVirtualRegister(RC);
- return BuildMI(*BB, I, DebugLoc::getUnknownLoc(), TII->get(Opcode), NewVR);
+ return BuildMI(*BB, I, DebugLoc(), TII->get(Opcode), NewVR);
}
/// GetValueInMiddleOfBlock - Construct SSA form, materializing a value that
OpenPOWER on IntegriCloud