tsan: replace CHECK with CHECK_EQ for better diagnostics

llvm-svn: 157181
This commit is contained in:
Dmitry Vyukov 2012-05-21 10:20:53 +00:00
parent 98953b7a6d
commit 163a8338be
1 changed files with 1 additions and 1 deletions

View File

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