forked from OSchip/llvm-project
parent
5789c497a0
commit
a470eac6a1
|
@ -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