summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-09 01:35:34 +0000
committerEric Christopher <echristo@gmail.com>2013-01-09 01:35:34 +0000
commitce0cfce77592a35c81a70a2986d1bc5639d70c07 (patch)
tree0d9881b30b07ce85929f2d557f982bdf85641d0b /llvm/lib/CodeGen/AsmPrinter/DIE.cpp
parent4c66f87e8ef4e242e771ad68bb5fba14f6687c26 (diff)
downloadbcm5719-llvm-ce0cfce77592a35c81a70a2986d1bc5639d70c07.tar.gz
bcm5719-llvm-ce0cfce77592a35c81a70a2986d1bc5639d70c07.zip
These functions have default arguments of 0 for the last arg. Use
them and add one where it seemed obvious that we wanted one. llvm-svn: 171932
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DIE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
index a913ca404da..fecb0419c78 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
@@ -204,7 +204,7 @@ void DIEInteger::EmitValue(AsmPrinter *Asm, unsigned Form) const {
Size = Asm->getDataLayout().getPointerSize(); break;
default: llvm_unreachable("DIE Value form not supported yet");
}
- Asm->OutStreamer.EmitIntValue(Integer, Size, 0/*addrspace*/);
+ Asm->OutStreamer.EmitIntValue(Integer, Size);
}
/// SizeOf - Determine size of integer value in bytes.
@@ -243,7 +243,7 @@ void DIEInteger::print(raw_ostream &O) {
/// EmitValue - Emit label value.
///
void DIELabel::EmitValue(AsmPrinter *AP, unsigned Form) const {
- AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form), 0/*AddrSpace*/);
+ AP->OutStreamer.EmitSymbolValue(Label, SizeOf(AP, Form));
}
/// SizeOf - Determine size of label value in bytes.
OpenPOWER on IntegriCloud