Expose ValueMap's mutex type as a typedef instead of a sys::Mutex.
authorZachary Turner <zturner@google.com>
Tue, 17 Jun 2014 00:17:38 +0000 (00:17 +0000)
committerZachary Turner <zturner@google.com>
Tue, 17 Jun 2014 00:17:38 +0000 (00:17 +0000)
commit84fea7720cf37d82af2968e073cff71305f130e7
tree450b3bb3b89ad6f5478868f29037e8a2ad443495
parent408691f9673fb69b5ed45326f6ded4f3b6f19c50
Expose ValueMap's mutex type as a typedef instead of a sys::Mutex.

This enables static polymorphism of the mutex type, which is
necessary in order to replace the standard mutex implementation
with a different type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211080 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ValueMap.h
unittests/IR/ValueMapTest.cpp