summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-17 00:38:40 +0000
committerZachary Turner <zturner@google.com>2014-06-17 00:38:40 +0000
commitb07f1e1fdd0b35be087c6c49fe8e7da1134e64c5 (patch)
tree3ae129bcb6b9e2b81291236faaf1e88c353c1876 /llvm
parent73686d305a99750bb61202565b6bc73d74103bfb (diff)
downloadbcm5719-llvm-b07f1e1fdd0b35be087c6c49fe8e7da1134e64c5.tar.gz
bcm5719-llvm-b07f1e1fdd0b35be087c6c49fe8e7da1134e64c5.zip
Fix build breakage caused by change to ValueMapTest.
llvm-svn: 211083
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/IR/ValueMapTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/ValueMapTest.cpp b/llvm/unittests/IR/ValueMapTest.cpp
index d480865805c..248740aeb72 100644
--- a/llvm/unittests/IR/ValueMapTest.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud