summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-02-02 22:40:53 +0000
committerEric Christopher <echristo@gmail.com>2015-02-02 22:40:53 +0000
commit57931fca074a4ed34b765a163634b97b5ad02a77 (patch)
tree46b036037cd41622fc41e0f81658d003d2dc5d71 /llvm/lib
parentd21486dfe0408f3cee19d9066c2f0a1853918c6f (diff)
downloadbcm5719-llvm-57931fca074a4ed34b765a163634b97b5ad02a77.tar.gz
bcm5719-llvm-57931fca074a4ed34b765a163634b97b5ad02a77.zip
Remove dead code in the HexagonMCInst classes. This also fixes
a layering violation in the port and removes calls to getSubtargetImpl. llvm-svn: 227883
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
index 4430082eb9d..30da7d1b02f 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInst.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud