forked from OSchip/llvm-project
Fix an unused-variable warning in Release mode.
This commit is contained in:
parent
20cb440ea2
commit
d50bfd9764
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue