Fix an unused-variable warning in Release mode.

This commit is contained in:
Benjamin Kramer 2020-04-21 18:59:19 +02:00
parent 20cb440ea2
commit d50bfd9764
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ PPCMCCodeEmitter::getMemRI34PCRelEncoding(const MCInst &MI, unsigned OpNo,
llvm_unreachable("Expecting to have one constant and one relocation.");
const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(LHS);
(void)SRE;
const MCConstantExpr *CE = cast<MCConstantExpr>(RHS);
// Currently these are the only valid PCRelative Relocations.