diff --git a/unittests/IR/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp index d480865805c..248740aeb72 100644 --- a/unittests/IR/ValueMapTest.cpp +++ b/unittests/IR/ValueMapTest.cpp @@ -180,7 +180,7 @@ TYPED_TEST(ValueMapTest, ConfiguredCollisionBehavior) { template struct LockMutex : ValueMapConfig { struct ExtraData { - mutex_type *M; + MutexT *M; bool *CalledRAUW; bool *CalledDeleted; }; @@ -192,7 +192,7 @@ struct LockMutex : ValueMapConfig { *Data.CalledDeleted = true; EXPECT_FALSE(Data.M->tryacquire()) << "Mutex should already be locked."; } - static mutex_type *getMutex(const ExtraData &Data) { return Data.M; } + static MutexT *getMutex(const ExtraData &Data) { return Data.M; } }; #if LLVM_ENABLE_THREADS TYPED_TEST(ValueMapTest, LocksMutex) {