diff --git a/llvm/include/llvm/MC/MCWasmStreamer.h b/llvm/include/llvm/MC/MCWasmStreamer.h --- a/llvm/include/llvm/MC/MCWasmStreamer.h +++ b/llvm/include/llvm/MC/MCWasmStreamer.h @@ -59,13 +59,9 @@ SMLoc Loc = SMLoc()) override; void emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment = 0) override; - void emitValueImpl(const MCExpr *Value, unsigned Size, - SMLoc Loc = SMLoc()) override; void emitIdent(StringRef IdentString) override; - void emitValueToAlignment(unsigned, int64_t, unsigned, unsigned) override; - void finishImpl() override; private: diff --git a/llvm/lib/MC/MCWasmStreamer.cpp b/llvm/lib/MC/MCWasmStreamer.cpp --- a/llvm/lib/MC/MCWasmStreamer.cpp +++ b/llvm/lib/MC/MCWasmStreamer.cpp @@ -148,18 +148,6 @@ llvm_unreachable("Local common symbols are not yet implemented for Wasm"); } -void MCWasmStreamer::emitValueImpl(const MCExpr *Value, unsigned Size, - SMLoc Loc) { - MCObjectStreamer::emitValueImpl(Value, Size, Loc); -} - -void MCWasmStreamer::emitValueToAlignment(unsigned ByteAlignment, int64_t Value, - unsigned ValueSize, - unsigned MaxBytesToEmit) { - MCObjectStreamer::emitValueToAlignment(ByteAlignment, Value, ValueSize, - MaxBytesToEmit); -} - void MCWasmStreamer::emitIdent(StringRef IdentString) { // TODO(sbc): Add the ident section once we support mergable strings // sections in the object format