mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix -Asserts warning.
llvm-svn: 84687
This commit is contained in:
parent
7b6fe9f251
commit
502e00c5b9
@ -332,8 +332,9 @@ void ARMInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNum) {
|
||||
}
|
||||
|
||||
void ARMInstPrinter::printSBitModifierOperand(const MCInst *MI, unsigned OpNum){
|
||||
if (unsigned Reg = MI->getOperand(OpNum).getReg()) {
|
||||
assert(Reg == ARM::CPSR && "Expect ARM CPSR register!");
|
||||
if (MI->getOperand(OpNum).getReg()) {
|
||||
assert(MI->getOperand(OpNum).getReg() == ARM::CPSR &&
|
||||
"Expect ARM CPSR register!");
|
||||
O << 's';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user