diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-09 01:35:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-09 01:35:34 +0000 |
commit | ca1dd05c3c12e857614ae6837f90894396225dd6 (patch) | |
tree | 642894cb845ff4bd36c9e5a6e1833f4b2a616192 /include/llvm/MC/MCStreamer.h | |
parent | df8c22a10427f2831a009b806f7050dff29f60e2 (diff) | |
download | external_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/MCStreamer.h')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 05a33c5..4db050e 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -366,7 +366,7 @@ namespace llvm { /// /// This is used to implement assembler directives such as .byte, .ascii, /// etc. - virtual void EmitBytes(StringRef Data, unsigned AddrSpace) = 0; + virtual void EmitBytes(StringRef Data, unsigned AddrSpace = 0) = 0; /// EmitValue - Emit the expression @p Value into the output as a native /// integer of the given @p Size bytes. @@ -429,11 +429,11 @@ namespace llvm { /// EmitFill - Emit NumBytes bytes worth of the value specified by /// FillValue. This implements directives such as '.space'. virtual void EmitFill(uint64_t NumBytes, uint8_t FillValue, - unsigned AddrSpace); + unsigned AddrSpace = 0); /// EmitZeros - Emit NumBytes worth of zeros. This is a convenience /// function that just wraps EmitFill. - void EmitZeros(uint64_t NumBytes, unsigned AddrSpace) { + void EmitZeros(uint64_t NumBytes, unsigned AddrSpace = 0) { EmitFill(NumBytes, 0, AddrSpace); } |