asan/tsan: fix failing CHECK on windows

llvm-svn: 174319
This commit is contained in:
Dmitry Vyukov 2013-02-04 10:42:38 +00:00
parent 576e270287
commit fa67ed47e1
1 changed files with 2 additions and 4 deletions

View File

@ -249,10 +249,8 @@ int internal_sched_yield() {
} }
// ---------------------- BlockingMutex ---------------- {{{1 // ---------------------- BlockingMutex ---------------- {{{1
enum LockState { const uptr LOCK_UNINITIALIZED = 0;
LOCK_UNINITIALIZED = 0, const uptr LOCK_READY = (uptr)-1;
LOCK_READY = -1,
};
BlockingMutex::BlockingMutex(LinkerInitialized li) { BlockingMutex::BlockingMutex(LinkerInitialized li) {
// FIXME: see comments in BlockingMutex::Lock() for the details. // FIXME: see comments in BlockingMutex::Lock() for the details.