forked from OSchip/llvm-project
[Hexagon] Fix release build break after 5476585673
This commit is contained in:
parent
44e3365775
commit
dfbe74be63
|
@ -712,7 +712,6 @@ unsigned
|
|||
HexagonMCCodeEmitter::getMachineOpValue(MCInst const &MI, MCOperand const &MO,
|
||||
SmallVectorImpl<MCFixup> &Fixups,
|
||||
MCSubtargetInfo const &STI) const {
|
||||
#ifndef NDEBUG
|
||||
size_t OperandNumber = ~0U;
|
||||
for (unsigned i = 0, n = MI.getNumOperands(); i < n; ++i)
|
||||
if (&MI.getOperand(i) == &MO) {
|
||||
|
@ -720,7 +719,6 @@ HexagonMCCodeEmitter::getMachineOpValue(MCInst const &MI, MCOperand const &MO,
|
|||
break;
|
||||
}
|
||||
assert((OperandNumber != ~0U) && "Operand not found");
|
||||
#endif
|
||||
|
||||
if (HexagonMCInstrInfo::isNewValue(MCII, MI) &&
|
||||
&MO == &HexagonMCInstrInfo::getNewValueOperand(MCII, MI)) {
|
||||
|
|
Loading…
Reference in New Issue