Remove dead code in the HexagonMCInst classes. This also fixes
authorEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 22:40:53 +0000 (22:40 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 2 Feb 2015 22:40:53 +0000 (22:40 +0000)
a layering violation in the port and removes calls to getSubtargetImpl.

llvm-svn: 227883

llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp

index 4430082..30da7d1 100644 (file)
@@ -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;