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)
commit814a49385ce96ec18eb3b2f3f6be5e96cd71cca8
tree866c423a146e0948ca04013b80b2f83c008b8a4e
parent852c346ad24334f6e65b57331cb43f651219d5d8
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.

llvm-svn: 211080
llvm/include/llvm/IR/ValueMap.h
llvm/unittests/IR/ValueMapTest.cpp