summaryrefslogtreecommitdiff
path: root/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
commit1ced208be9cab0f994c5df9000da36bc313b2507 (patch)
tree2f1dd248790fe45dc483378bb4fc15a87a6d0a5a /lib/MC/MCStreamer.cpp
parent47579cf390c42e0577519e0a2b6044baece9df00 (diff)
downloadllvm-1ced208be9cab0f994c5df9000da36bc313b2507.tar.gz
llvm-1ced208be9cab0f994c5df9000da36bc313b2507.tar.bz2
llvm-1ced208be9cab0f994c5df9000da36bc313b2507.tar.xz
Last in the series of removing unnecessary '0' arguments for
address space. Reordered the EmitULEB128IntValue arguments to make this easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171949 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCStreamer.cpp')
-rw-r--r--lib/MC/MCStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index 7dffc3e21b..00ebde3c40 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/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);