mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[Target/PPC] Silence an unused variable warning. NFC.
This commit is contained in:
parent
a0ac79c972
commit
00c70dac51
@ -243,6 +243,7 @@ PPCMCCodeEmitter::getMemRI34PCRelEncoding(const MCInst &MI, unsigned OpNo,
|
||||
const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(LHS);
|
||||
(void)SRE;
|
||||
const MCConstantExpr *CE = cast<MCConstantExpr>(RHS);
|
||||
(void)CE;
|
||||
assert(isInt<34>(CE->getValue()) && "Value must fit in 34 bits.");
|
||||
|
||||
// Currently these are the only valid PCRelative Relocations.
|
||||
|
Loading…
x
Reference in New Issue
Block a user