forked from OSchip/llvm-project
Remove an assertion that no longer holds. <rdar://problem/16135814>
In r201528, I changed the PGO instrumentation counter for a "do" loop to not include the fall-through count. That fall-through count is included later, b it means that this assertion may fail for "do" loops. llvm-svn: 202437
This commit is contained in:
parent
08da97819a
commit
32dc99a480
|
@ -186,7 +186,6 @@ public:
|
|||
/// within the region. The adjusted count, then, is the value of the counter
|
||||
/// at the end of the region.
|
||||
uint64_t getAdjustedCount() const {
|
||||
assert((Adjust > 0 || (uint64_t)(-Adjust) <= Count) && "Negative count");
|
||||
return Count + Adjust;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue