OSDN Git Service

We need to use double-checked locking for lazy initialization in this case when runni...
authorOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 21:16:20 +0000 (21:16 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 17 Jun 2009 21:16:20 +0000 (21:16 +0000)
commitf2986e6ca9be11f794d3d77325945a437ba133a1
tree2589344eadc0dbf866d1c562fa2f72a88677d598
parent24e0411184741640d26c3ac60bcd605c647f83dd
We need to use double-checked locking for lazy initialization in this case when running multithreaded.

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