mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 21:47:07 +00:00
MC: Add default value for AddrSpace argument to EmitValue.
llvm-svn: 110475
This commit is contained in:
parent
821eebf946
commit
49c592cd1b
@ -217,12 +217,13 @@ namespace llvm {
|
|||||||
/// @param Size - The size of the integer (in bytes) to emit. This must
|
/// @param Size - The size of the integer (in bytes) to emit. This must
|
||||||
/// match a native machine width.
|
/// match a native machine width.
|
||||||
virtual void EmitValue(const MCExpr *Value, unsigned Size,
|
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
|
/// EmitIntValue - Special case of EmitValue that avoids the client having
|
||||||
/// to pass in a MCExpr for constant integers.
|
/// 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
|
/// EmitSymbolValue - Special case of EmitValue that avoids the client
|
||||||
/// having to pass in a MCExpr for MCSymbols.
|
/// having to pass in a MCExpr for MCSymbols.
|
||||||
virtual void EmitSymbolValue(const MCSymbol *Sym, unsigned Size,
|
virtual void EmitSymbolValue(const MCSymbol *Sym, unsigned Size,
|
||||||
|
Loading…
Reference in New Issue
Block a user