From: Colin LeMahieu Date: Fri, 1 May 2015 21:30:22 +0000 (+0000) Subject: [Hexagon] Removing variable unused in release. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=204bccaa244e72f650445c04159f3a805885b2b1;p=oota-llvm.git [Hexagon] Removing variable unused in release. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236351 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp index 1d9e5c531bb..e93157dc07b 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp @@ -203,7 +203,6 @@ unsigned HexagonMCCodeEmitter::getExprOpValue(const MCInst &MI, Hexagon::Fixups(Hexagon::fixup_Hexagon_TPREL_LO16); const MCSymbolRefExpr *MCSRE = static_cast(ME); const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MI); - unsigned opcode = MCID.getOpcode(); unsigned bits = HexagonMCInstrInfo::getExtentBits(MCII, MI) - HexagonMCInstrInfo::getExtentAlignment(MCII, MI); const MCSymbolRefExpr::VariantKind kind = MCSRE->getKind(); @@ -211,7 +210,7 @@ unsigned HexagonMCCodeEmitter::getExprOpValue(const MCInst &MI, DEBUG(dbgs() << "----------------------------------------\n"); DEBUG(dbgs() << "Opcode Name: " << HexagonMCInstrInfo::getName(MCII, MI) << "\n"); - DEBUG(dbgs() << "Opcode: " << opcode << "\n"); + DEBUG(dbgs() << "Opcode: " << MCID.getOpcode() << "\n"); DEBUG(dbgs() << "Relocation bits: " << bits << "\n"); DEBUG(dbgs() << "Addend: " << *Addend << "\n"); DEBUG(dbgs() << "----------------------------------------\n");