From dd0c5bb15669bbea572830af9d610c751a009639 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 2 Feb 2015 22:40:53 +0000 Subject: [PATCH] Remove dead code in the HexagonMCInst classes. This also fixes a layering violation in the port and removes calls to getSubtargetImpl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227883 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp index 4430082eb9d..30da7d1b02f 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp @@ -69,10 +69,6 @@ MCInstrDesc const &HexagonMCInst::getDesc() const { return (MCII->get(getOpcode())); } -MCInstrDesc const &HexagonMCInst::getDesc() const { - return (MCII->get(getOpcode())); -} - // Return the Hexagon ISA class for the insn. unsigned HexagonMCInst::getType() const { const uint64_t F = getDesc().TSFlags;