[llvm] r256167 - [WebAssembly] Remove an unneeded empty destructor.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 09:12:40 PST 2015
Author: djg
Date: Mon Dec 21 11:12:40 2015
New Revision: 256167
URL: http://llvm.org/viewvc/llvm-project?rev=256167&view=rev
Log:
[WebAssembly] Remove an unneeded empty destructor.
Modified:
llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
Modified: llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp?rev=256167&r1=256166&r2=256167&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp Mon Dec 21 11:12:40 2015
@@ -24,8 +24,6 @@ class WebAssemblyELFObjectWriter final :
public:
WebAssemblyELFObjectWriter(bool Is64Bit, uint8_t OSABI);
- ~WebAssemblyELFObjectWriter() override;
-
protected:
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel) const override;
@@ -40,8 +38,6 @@ WebAssemblyELFObjectWriter::WebAssemblyE
: MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_NONE,
/*HasRelocationAddend=*/true) {}
-WebAssemblyELFObjectWriter::~WebAssemblyELFObjectWriter() {}
-
unsigned WebAssemblyELFObjectWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const {
More information about the llvm-commits
mailing list