diff options
author | Richard Trieu <rtrieu@google.com> | 2014-05-30 03:15:17 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2014-05-30 03:15:17 +0000 |
commit | e471ed0620bae51dfab62a58428b1b86408cd286 (patch) | |
tree | 7a2bcf107977c503cb999f68e1977a9aed772a51 /lib/CodeGen/CodeGenPrepare.cpp | |
parent | a35be5ab6758bd9e877c252cba37f844369f74ad (diff) | |
download | llvm-e471ed0620bae51dfab62a58428b1b86408cd286.tar.gz llvm-e471ed0620bae51dfab62a58428b1b86408cd286.tar.bz2 llvm-e471ed0620bae51dfab62a58428b1b86408cd286.tar.xz |
Remove use of comma operator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenPrepare.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenPrepare.cpp b/lib/CodeGen/CodeGenPrepare.cpp index 6aa60c66b7..3133993981 100644 --- a/lib/CodeGen/CodeGenPrepare.cpp +++ b/lib/CodeGen/CodeGenPrepare.cpp @@ -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 ? " + " : "") |