aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCStreamer.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-14 22:40:47 -0800
committerFangrui Song <maskray@google.com>2020-02-14 23:08:40 -0800
commit774971030df946916b11fcdb1691511c3c1e27b7 (patch)
tree6cef99e3dd77d05f54ac921e0d37c68c0e89c447 /llvm/lib/MC/MCStreamer.cpp
parent2101590a78b7189f89aa06513eeea2dee6a3c45a (diff)
downloadllvm-774971030df946916b11fcdb1691511c3c1e27b7.zip
llvm-774971030df946916b11fcdb1691511c3c1e27b7.tar.gz
llvm-774971030df946916b11fcdb1691511c3c1e27b7.tar.bz2
[MCStreamer] De-capitalize EmitValue EmitIntValue{,InHex}
Diffstat (limited to 'llvm/lib/MC/MCStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCStreamer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp
index 83c5d14..2c11e03 100644
--- a/llvm/lib/MC/MCStreamer.cpp
+++ b/llvm/lib/MC/MCStreamer.cpp
@@ -128,7 +128,7 @@ void MCStreamer::generateCompactUnwindEncodings(MCAsmBackend *MAB) {
/// EmitIntValue - Special case of EmitValue that avoids the client having to
/// pass in a MCExpr for constant integers.
-void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size) {
+void MCStreamer::emitIntValue(uint64_t Value, unsigned Size) {
assert(1 <= Size && Size <= 8 && "Invalid size");
assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
"Invalid size");
@@ -159,7 +159,7 @@ void MCStreamer::emitSLEB128IntValue(int64_t Value) {
emitBytes(OSE.str());
}
-void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
+void MCStreamer::emitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
emitValueImpl(Value, Size, Loc);
}
@@ -1027,7 +1027,7 @@ void MCStreamer::emitAbsoluteSymbolDiff(const MCSymbol *Hi, const MCSymbol *Lo,
const MCAsmInfo *MAI = Context.getAsmInfo();
if (!MAI->doesSetDirectiveSuppressReloc()) {
- EmitValue(Diff, Size);
+ emitValue(Diff, Size);
return;
}