summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-09 01:57:54 +0000
committerEric Christopher <echristo@gmail.com>2013-01-09 01:57:54 +0000
commite3ab3d0e2ccbb1121cad742e1acb12175fa79f6e (patch)
tree262d31e8f89eed7eb5fa78864d4b0602be905515 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parentce0cfce77592a35c81a70a2986d1bc5639d70c07 (diff)
downloadbcm5719-llvm-e3ab3d0e2ccbb1121cad742e1acb12175fa79f6e.tar.gz
bcm5719-llvm-e3ab3d0e2ccbb1121cad742e1acb12175fa79f6e.zip
These functions have default arguments of 0 for the last arg. Use
them. llvm-svn: 171933
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 33d69d3b82e..afe6901f1da 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -2113,7 +2113,7 @@ void DwarfDebug::emitDebugPubTypes() {
if (Asm->isVerbose()) Asm->OutStreamer.AddComment("External Name");
// Emit the name with a terminating null byte.
- Asm->OutStreamer.EmitBytes(StringRef(Name, GI->getKeyLength()+1), 0);
+ Asm->OutStreamer.EmitBytes(StringRef(Name, GI->getKeyLength()+1));
}
Asm->OutStreamer.AddComment("End Mark");
OpenPOWER on IntegriCloud