Use an RWMutex instead of a Mutex in PassRegistry.
authorChad Rosier <chad.rosier@gmail.com>
Wed, 3 Jul 2013 18:38:08 +0000 (18:38 +0000)
committerChad Rosier <chad.rosier@gmail.com>
Wed, 3 Jul 2013 18:38:08 +0000 (18:38 +0000)
commit673a7db23623af8628bb24e58389e40d6dfc93da
tree0d05cf1d0e9ef41ace8c1eb587b046ef9748a0a6
parenta9d6a0e1f866f3f55bfbc462c916c0c1d18b5ece
Use an RWMutex instead of a Mutex in PassRegistry.
Patch by Alex Crichton <alex@crichton.co>.  Approved by Chris Lattner.

llvm-svn: 185566
llvm/lib/IR/PassRegistry.cpp