Remove use of comma operator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Trieu 2014-05-30 03:15:17 +00:00
parent a35be5ab67
commit e471ed0620

View File

@ -1078,8 +1078,11 @@ void ExtAddrMode::print(raw_ostream &OS) const {
NeedPlus = true;
}
if (BaseOffs)
OS << (NeedPlus ? " + " : "") << BaseOffs, NeedPlus = true;
if (BaseOffs) {
OS << (NeedPlus ? " + " : "")
<< BaseOffs;
NeedPlus = true;
}
if (BaseReg) {
OS << (NeedPlus ? " + " : "")