mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add missing braces to pacify GCC's -Wparentheses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc61a23506
commit
3821b1885e
@ -1473,11 +1473,12 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned RCID = 0;
|
unsigned RCID = 0;
|
||||||
if (InlineAsm::hasRegClassConstraint(Flag, RCID))
|
if (InlineAsm::hasRegClassConstraint(Flag, RCID)) {
|
||||||
if (TM)
|
if (TM)
|
||||||
OS << ':' << TM->getRegisterInfo()->getRegClass(RCID)->getName();
|
OS << ':' << TM->getRegisterInfo()->getRegClass(RCID)->getName();
|
||||||
else
|
else
|
||||||
OS << ":RC" << RCID;
|
OS << ":RC" << RCID;
|
||||||
|
}
|
||||||
|
|
||||||
unsigned TiedTo = 0;
|
unsigned TiedTo = 0;
|
||||||
if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo))
|
if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo))
|
||||||
|
Loading…
Reference in New Issue
Block a user