Skip to content

Commit

Permalink
ScheduleDAGInstrs.h:155: warning: suggest parentheses around `&&' wit…
Browse files Browse the repository at this point in the history
…hin `||'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151355 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nlewycky committed Feb 24, 2012
1 parent 702d489 commit aaad5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CodeGen/ScheduleDAGInstrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit aaad5f2

Please sign in to comment.