summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/include/llvm/MC/MCELFStreamer.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/include/llvm/MC/MCELFStreamer.h')
-rw-r--r--contrib/llvm/include/llvm/MC/MCELFStreamer.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/contrib/llvm/include/llvm/MC/MCELFStreamer.h b/contrib/llvm/include/llvm/MC/MCELFStreamer.h
index a5b257f..6eb2c2c 100644
--- a/contrib/llvm/include/llvm/MC/MCELFStreamer.h
+++ b/contrib/llvm/include/llvm/MC/MCELFStreamer.h
@@ -36,7 +36,6 @@ public:
/// state management
void reset() override {
SeenIdent = false;
- LocalCommons.clear();
BundleGroups.clear();
MCObjectStreamer::reset();
}
@@ -69,7 +68,7 @@ public:
void EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size,
unsigned ByteAlignment = 0) override;
void EmitValueImpl(const MCExpr *Value, unsigned Size,
- const SMLoc &Loc = SMLoc()) override;
+ SMLoc Loc = SMLoc()) override;
void EmitFileDirective(StringRef Filename) override;
@@ -77,8 +76,6 @@ public:
void EmitValueToAlignment(unsigned, int64_t, unsigned, unsigned) override;
- void Flush() override;
-
void FinishImpl() override;
void EmitBundleAlignMode(unsigned AlignPow2) override;
@@ -97,14 +94,6 @@ private:
bool SeenIdent;
- struct LocalCommon {
- const MCSymbol *Symbol;
- uint64_t Size;
- unsigned ByteAlignment;
- };
-
- std::vector<LocalCommon> LocalCommons;
-
/// BundleGroups - The stack of fragments holding the bundle-locked
/// instructions.
llvm::SmallVector<MCDataFragment *, 4> BundleGroups;
OpenPOWER on IntegriCloud