aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore
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/Target/XCore
parent47579cf390c42e0577519e0a2b6044baece9df00 (diff)
downloadexternal_llvm-1ced208be9cab0f994c5df9000da36bc313b2507.zip
external_llvm-1ced208be9cab0f994c5df9000da36bc313b2507.tar.gz
external_llvm-1ced208be9cab0f994c5df9000da36bc313b2507.tar.bz2
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/Target/XCore')
-rw-r--r--lib/Target/XCore/XCoreAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/XCore/XCoreAsmPrinter.cpp b/lib/Target/XCore/XCoreAsmPrinter.cpp
index ea77d92..0d146ba 100644
--- a/lib/Target/XCore/XCoreAsmPrinter.cpp
+++ b/lib/Target/XCore/XCoreAsmPrinter.cpp
@@ -171,7 +171,7 @@ void XCoreAsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) {
// The ABI requires that unsigned scalar types smaller than 32 bits
// are padded to 32 bits.
if (Size < 4)
- OutStreamer.EmitZeros(4 - Size, 0);
+ OutStreamer.EmitZeros(4 - Size);
// Mark the end of the global
OutStreamer.EmitRawText("\t.cc_bottom " + Twine(GVSym->getName()) + ".data");