aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-01-09 01:57:54 +0000
committerEric Christopher <echristo@gmail.com>2013-01-09 01:57:54 +0000
commit68ca56285f9b6e82eb16ff8ea02a301f2c489fae (patch)
tree4b72a398a95dae697714232fdba5d46a277d6167 /lib/Target/ARM/ARMAsmPrinter.cpp
parentca1dd05c3c12e857614ae6837f90894396225dd6 (diff)
downloadexternal_llvm-68ca56285f9b6e82eb16ff8ea02a301f2c489fae.tar.gz
external_llvm-68ca56285f9b6e82eb16ff8ea02a301f2c489fae.tar.bz2
external_llvm-68ca56285f9b6e82eb16ff8ea02a301f2c489fae.zip
These functions have default arguments of 0 for the last arg. Use
them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index fc6ac90f6e..d66b2994c0 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -182,7 +182,7 @@ namespace {
const size_t TagHeaderSize = 1 + 4;
Streamer.EmitIntValue(VendorHeaderSize + TagHeaderSize + ContentsSize, 4);
- Streamer.EmitBytes(CurrentVendor, 0);
+ Streamer.EmitBytes(CurrentVendor);
Streamer.EmitIntValue(0, 1); // '\0'
Streamer.EmitIntValue(ARMBuildAttrs::File, 1);
@@ -199,7 +199,7 @@ namespace {
Streamer.EmitULEB128IntValue(item.IntValue, 0);
break;
case AttributeItemType::TextAttribute:
- Streamer.EmitBytes(item.StringValue.upper(), 0);
+ Streamer.EmitBytes(item.StringValue.upper());
Streamer.EmitIntValue(0, 1); // '\0'
break;
}