mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
702d489a95
commit
aaad5f2b9a
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user