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:
a35be5a
)
Remove use of comma operator.
author
Richard Trieu
<rtrieu@google.com>
Fri, 30 May 2014 03:15:17 +0000
(
03:15
+0000)
committer
Richard Trieu
<rtrieu@google.com>
Fri, 30 May 2014 03:15:17 +0000
(
03:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209871
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/CodeGenPrepare.cpp
b/lib/CodeGen/CodeGenPrepare.cpp
index 6aa60c66b7e0e9e45566c3addc835cc7b135139c..313399398102c5c129de9cb87c4d11d6593e6043 100644
(file)
--- 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 ? " + " : "")