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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227883 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp

index 4430082eb9d7f3de4707c5bad2ac8cf8c2b7731b..30da7d1b02f7d06419a0659638bbbbec09a15793 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;