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:
702d489
)
ScheduleDAGInstrs.h:155: warning: suggest parentheses around `&&' within `||'.
author
Nick Lewycky
<nicholas@mxc.ca>
Fri, 24 Feb 2012 07:59:05 +0000
(07:59 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Fri, 24 Feb 2012 07:59:05 +0000
(07:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151355
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/ScheduleDAGInstrs.h
patch
|
blob
|
history
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.h
b/lib/CodeGen/ScheduleDAGInstrs.h
index 1a9d1ea5789708d3eebd13e66fb75b6ae34ebf5d..c7ffed96b78f8efe1eec06ce4cfc1c78bdac337e 100644
(file)
--- a/
lib/CodeGen/ScheduleDAGInstrs.h
+++ b/
lib/CodeGen/ScheduleDAGInstrs.h
@@
-152,7
+152,7
@@
namespace llvm {
/// Otherwise map the register and return an empty SUnits vector.
std::vector<SUnit *> &operator[](unsigned Reg) {
bool New = PhysRegSet.insert(Reg).second;
- assert(
!New || SUnits[Reg].empty(
) && "stale SUnits vector");
+ assert(
(!New || SUnits[Reg].empty()
) && "stale SUnits vector");
(void)New;
return SUnits[Reg];
}