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 | c0f9121e715ac63df217711b719418da69b855d3 (patch) | |
tree | 810790816f5bbac427e59974eab8731de8086a3a /llvm/lib | |
parent | 59633cb4786309931255ced99e98ab77a03acc4b (diff) | |
download | bcm5719-llvm-c0f9121e715ac63df217711b719418da69b855d3.tar.gz bcm5719-llvm-c0f9121e715ac63df217711b719418da69b855d3.zip |
Remove use of comma operator.
llvm-svn: 209871
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 6aa60c66b7e..31339939810 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/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 ? " + " : "") |