ScheduleDAGInstrs.h:155: warning: suggest parentheses around &&' within ||'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2012-02-24 07:59:05 +00:00
parent 702d489a95
commit aaad5f2b9a

View File

@ -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];
}