summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-29 18:40:58 +0000
committerDevang Patel <dpatel@apple.com>2009-09-29 18:40:58 +0000
commitb296942f6d151225353a672bb235a599e14de2cc (patch)
treea4ef9834c8e0a8344c391f716a9cc9ff00dc06fc /llvm/lib/CodeGen/MachineInstr.cpp
parent73e8d435885066e7dc1f9d543e567b556cd0fc69 (diff)
downloadbcm5719-llvm-b296942f6d151225353a672bb235a599e14de2cc.tar.gz
bcm5719-llvm-b296942f6d151225353a672bb235a599e14de2cc.zip
Remove std::string uses from DebugInfo interface.
llvm-svn: 83083
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index ae6f3f5d5f6..3d1c22159a5 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1041,9 +1041,8 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
const MachineFunction *MF = getParent()->getParent();
DebugLocTuple DLT = MF->getDebugLocTuple(debugLoc);
DICompileUnit CU(DLT.CompileUnit);
- std::string Dir, Fn;
OS << " [dbg: "
- << CU.getDirectory(Dir) << '/' << CU.getFilename(Fn) << ","
+ << CU.getDirectory() << '/' << CU.getFilename() << ","
<< DLT.Line << ","
<< DLT.Col << "]";
}
OpenPOWER on IntegriCloud