mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Silence an unused variable warning on release builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159074 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ed920f308
commit
0a2f793d6e
@ -104,9 +104,9 @@ void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo,
|
||||
|
||||
// Print the CR bit number. The Code is ((BI << 5) | BO) for a
|
||||
// BCC, but we must have the positive form here (BO == 12)
|
||||
unsigned BO = Code & 0xF;
|
||||
unsigned BI = Code >> 5;
|
||||
assert(BO == 12 && "BO in predicate bit must have the positive form");
|
||||
assert((Code & 0xF) == 12 &&
|
||||
"BO in predicate bit must have the positive form");
|
||||
|
||||
unsigned Value = 4*RegNo + BI;
|
||||
O << Value;
|
||||
|
Loading…
Reference in New Issue
Block a user