tsan: replace CHECK with CHECK_EQ for better diagnostics
llvm-svn: 157181
This commit is contained in:
parent
98953b7a6d
commit
163a8338be
|
@ -76,7 +76,7 @@ class FastState {
|
||||||
void IncrementEpoch() {
|
void IncrementEpoch() {
|
||||||
u64 old_epoch = epoch();
|
u64 old_epoch = epoch();
|
||||||
x_ += 1 << kClkShift;
|
x_ += 1 << kClkShift;
|
||||||
DCHECK(old_epoch + 1 == epoch());
|
DCHECK_EQ(old_epoch + 1, epoch());
|
||||||
(void)old_epoch;
|
(void)old_epoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue