projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc61a23
)
Add missing braces to pacify GCC's -Wparentheses.
author
Nick Lewycky
<nicholas@mxc.ca>
Thu, 13 Oct 2011 00:54:59 +0000
(
00:54
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Thu, 13 Oct 2011 00:54:59 +0000
(
00:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141842
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineInstr.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineInstr.cpp
b/lib/CodeGen/MachineInstr.cpp
index 0ef1ef603b7bac881f1597355e05b09434b64ed7..a240667f7d6aef9ca449462b24ee8263cc2d74c9 100644
(file)
--- a/
lib/CodeGen/MachineInstr.cpp
+++ b/
lib/CodeGen/MachineInstr.cpp
@@
-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))