Skip to content

Commit 7ee8e06

Browse files
committed
Merge branch 'users/chapuni/mcdc/nest/mcdcstate' into users/chapuni/mcdc/nest/bitmapaddr
2 parents d6cb61a + 457cf4b commit 7ee8e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/MCDCState.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct State {
4444
bool isValid() const { return ID != InvalidID; }
4545

4646
void update(unsigned I, IndicesTy &&X) {
47-
assert(ID != InvalidID);
47+
assert(isValid());
4848
BitmapIdx = I;
4949
Indices = std::move(X);
5050
}

0 commit comments

Comments
 (0)