OSDN Git Service

We need to guard reads of the AbstractTypeUsers list, as well as writes to it. While...
authorOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 17:13:54 +0000 (17:13 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 17:13:54 +0000 (17:13 +0000)
commit4f0ac58da12f8a1258c40fa762c7ece31d2685b0
tree50229d9eecfa0327b9965caffd44f0498a99d594
parente9d683b052b31d5243f3e205070a6b7d07c39596
We need to guard reads of the AbstractTypeUsers list, as well as writes to it.  While it would be nice to use a R/W lock here,
we can't, because it HAS to be recursive.

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