summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-12-21 17:12:40 +0000
committerDan Gohman <dan433584@gmail.com>2015-12-21 17:12:40 +0000
commitcd530e1a89cbb08fac835214a917008cd4d647c8 (patch)
tree3be693b484da68ddae677ab9a4fc0a8c5834b20a
parent05f8e38b90886ae74c7d1fc56cd17dd04f93cd19 (diff)
[WebAssembly] Remove an unneeded empty destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256167 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
index 54953b4033d..c47a3d9094e 100644
--- a/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
+++ b/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp
@@ -24,8 +24,6 @@ class WebAssemblyELFObjectWriter final : public MCELFObjectTargetWriter {
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::WebAssemblyELFObjectWriter(bool Is64Bit,
: MCELFObjectTargetWriter(Is64Bit, OSABI, ELF::EM_NONE,
/*HasRelocationAddend=*/true) {}
-WebAssemblyELFObjectWriter::~WebAssemblyELFObjectWriter() {}
-
unsigned WebAssemblyELFObjectWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const {