From: Eric Christopher Date: Mon, 2 Feb 2015 22:40:53 +0000 (+0000) Subject: Remove dead code in the HexagonMCInst classes. This also fixes X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dd0c5bb15669bbea572830af9d610c751a009639;p=oota-llvm.git 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 --- 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;