summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-09 03:52:05 +0000
committerEric Christopher <echristo@gmail.com>2013-01-09 03:52:05 +0000
commitbf7bc4966c876608506c48d40c43c723173cb945 (patch)
tree8f0e2601872817596e6b0c08d8057fb7b68dd473 /llvm/lib/MC/MCStreamer.cpp
parent765c266892d712db91b2a1677584f09feb862109 (diff)
downloadbcm5719-llvm-bf7bc4966c876608506c48d40c43c723173cb945.tar.gz
bcm5719-llvm-bf7bc4966c876608506c48d40c43c723173cb945.zip
Last in the series of removing unnecessary '0' arguments for
address space. Reordered the EmitULEB128IntValue arguments to make this easier. llvm-svn: 171949
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 7dffc3e21b4..00ebde3c40b 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -104,8 +104,8 @@ void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
/// EmitULEB128Value - Special case of EmitULEB128Value that avoids the
/// client having to pass in a MCExpr for constant integers.
-void MCStreamer::EmitULEB128IntValue(uint64_t Value, unsigned AddrSpace,
- unsigned Padding) {
+void MCStreamer::EmitULEB128IntValue(uint64_t Value, unsigned Padding,
+ unsigned AddrSpace) {
SmallString<128> Tmp;
raw_svector_ostream OSE(Tmp);
encodeULEB128(Value, OSE, Padding);
OpenPOWER on IntegriCloud