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

llvm-svn: 151355
This commit is contained in:
Nick Lewycky 2012-02-24 07:59:05 +00:00
parent 5c9371d10f
commit 04735e1180

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