diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-06 21:24:05 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-06 21:24:05 +0000 |
commit | bcb332475c9dfbcdadce27df7debbf9b1becf60c (patch) | |
tree | baf02a5ff76653ef6e9827037eab96f6da9152e8 | |
parent | e08cd386b0bffda37c3f910b575794191d213343 (diff) | |
download | bcm5719-llvm-bcb332475c9dfbcdadce27df7debbf9b1becf60c.tar.gz bcm5719-llvm-bcb332475c9dfbcdadce27df7debbf9b1becf60c.zip |
MC: Add default value for AddrSpace argument to EmitValue.
llvm-svn: 110475
-rw-r--r-- | llvm/include/llvm/MC/MCStreamer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h index cb36564a878..5767a94a6bc 100644 --- a/llvm/include/llvm/MC/MCStreamer.h +++ b/llvm/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, |