Use a reader-writer lock to guard large portions of the Type infrastructure, includin...
authorOwen Anderson <resistor@mac.com>
Tue, 16 Jun 2009 22:51:18 +0000 (22:51 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 16 Jun 2009 22:51:18 +0000 (22:51 +0000)
commit845e7e812ce8bc24248c158d074b75add5502f81
treec9443c7e669842a5afab6530e7fd0b8357c2172d
parente8f1018130e24bd20d193003eddaa7e16e48d4bd
Use a reader-writer lock to guard large portions of the Type infrastructure, including abstract type refinement.
There's still some more work to be done here, such as guarding removeAbstractTypeUser() and the printers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Type.cpp