aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC/MCObjectStreamer.h
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
commitca1dd05c3c12e857614ae6837f90894396225dd6 (patch)
tree642894cb845ff4bd36c9e5a6e1833f4b2a616192 /include/llvm/MC/MCObjectStreamer.h
parentdf8c22a10427f2831a009b806f7050dff29f60e2 (diff)
downloadexternal_llvm-ca1dd05c3c12e857614ae6837f90894396225dd6.zip
external_llvm-ca1dd05c3c12e857614ae6837f90894396225dd6.tar.gz
external_llvm-ca1dd05c3c12e857614ae6837f90894396225dd6.tar.bz2
These functions have default arguments of 0 for the last arg. Use
them and add one where it seemed obvious that we wanted one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCObjectStreamer.h')
-rw-r--r--include/llvm/MC/MCObjectStreamer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCObjectStreamer.h b/include/llvm/MC/MCObjectStreamer.h
index 0ece092..d73fe3a 100644
--- a/include/llvm/MC/MCObjectStreamer.h
+++ b/include/llvm/MC/MCObjectStreamer.h
@@ -86,7 +86,7 @@ public:
virtual void EmitBundleAlignMode(unsigned AlignPow2);
virtual void EmitBundleLock(bool AlignToEnd);
virtual void EmitBundleUnlock();
- virtual void EmitBytes(StringRef Data, unsigned AddrSpace);
+ virtual void EmitBytes(StringRef Data, unsigned AddrSpace = 0);
virtual void EmitValueToAlignment(unsigned ByteAlignment,
int64_t Value = 0,
unsigned ValueSize = 1,
@@ -103,7 +103,7 @@ public:
virtual void EmitGPRel32Value(const MCExpr *Value);
virtual void EmitGPRel64Value(const MCExpr *Value);
virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue,
- unsigned AddrSpace);
+ unsigned AddrSpace = 0);
virtual void FinishImpl();
/// @}