aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-06 21:24:05 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-06 21:24:05 +0000
commitc257c669df0412606bfd06668367a0fc7f96df0a (patch)
treefd9b2a18a2fcbcd3091a9ffbfc71b345b40509e0 /include
parentbd2d90f5a53e66b4f515c5d2876afa8a97b78ca6 (diff)
downloadexternal_llvm-c257c669df0412606bfd06668367a0fc7f96df0a.zip
external_llvm-c257c669df0412606bfd06668367a0fc7f96df0a.tar.gz
external_llvm-c257c669df0412606bfd06668367a0fc7f96df0a.tar.bz2
MC: Add default value for AddrSpace argument to EmitValue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCStreamer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h
index cb36564..5767a94 100644
--- a/include/llvm/MC/MCStreamer.h
+++ b/include/llvm/MC/MCStreamer.h
@@ -217,12 +217,13 @@ namespace llvm {
/// @param Size - The size of the integer (in bytes) to emit. This must
/// match a native machine width.
virtual void EmitValue(const MCExpr *Value, unsigned Size,
- unsigned AddrSpace) = 0;
+ unsigned AddrSpace = 0) = 0;
/// EmitIntValue - Special case of EmitValue that avoids the client having
/// to pass in a MCExpr for constant integers.
- virtual void EmitIntValue(uint64_t Value, unsigned Size,unsigned AddrSpace);
-
+ virtual void EmitIntValue(uint64_t Value, unsigned Size,
+ unsigned AddrSpace = 0);
+
/// EmitSymbolValue - Special case of EmitValue that avoids the client
/// having to pass in a MCExpr for MCSymbols.
virtual void EmitSymbolValue(const MCSymbol *Sym, unsigned Size,