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:
Nick Lewycky 2011-10-13 00:54:59 +00:00
parent fc61a23506
commit 3821b1885e

View File

@ -1473,11 +1473,12 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
}
unsigned RCID = 0;
if (InlineAsm::hasRegClassConstraint(Flag, RCID))
if (InlineAsm::hasRegClassConstraint(Flag, RCID)) {
if (TM)
OS << ':' << TM->getRegisterInfo()->getRegClass(RCID)->getName();
else
OS << ":RC" << RCID;
}
unsigned TiedTo = 0;
if (InlineAsm::isUseOperandTiedToDef(Flag, TiedTo))