diff options
author | Zachary Turner <zturner@google.com> | 2014-06-17 00:38:40 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-06-17 00:38:40 +0000 |
commit | 4072aa3649ff90ab4ea2b7c7ff5970ec1be496eb (patch) | |
tree | 02a92174d3dd4d1f3700781059adf90048d6df58 /unittests | |
parent | 0dee67560f17e43d32d52224c7f817226d75c646 (diff) | |
download | llvm-4072aa3649ff90ab4ea2b7c7ff5970ec1be496eb.tar.gz llvm-4072aa3649ff90ab4ea2b7c7ff5970ec1be496eb.tar.bz2 llvm-4072aa3649ff90ab4ea2b7c7ff5970ec1be496eb.tar.xz |
Fix build breakage caused by change to ValueMapTest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/IR/ValueMapTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/IR/ValueMapTest.cpp b/unittests/IR/ValueMapTest.cpp index d480865805..248740aeb7 100644 --- a/unittests/IR/ValueMapTest.cpp +++ b/unittests/IR/ValueMapTest.cpp @@ -180,7 +180,7 @@ TYPED_TEST(ValueMapTest, ConfiguredCollisionBehavior) { template<typename KeyT, typename MutexT> struct LockMutex : ValueMapConfig<KeyT, MutexT> { struct ExtraData { - mutex_type *M; + MutexT *M; bool *CalledRAUW; bool *CalledDeleted; }; @@ -192,7 +192,7 @@ struct LockMutex : ValueMapConfig<KeyT, MutexT> { *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) { |