commit | 92915e31e988c1b89a07c035029dc2f289afb789 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jun 23 21:19:38 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jun 23 21:19:38 2009 +0000 |
tree | b2e33caf6d5eb3da25d4936e8de590164b1fb94f | |
parent | e0fa0b42b2b5e95c81ceff19401c7bb2152dd22a [diff] |
Use atomic operations when accessing statistics, and make the lazy initialization of statistics actually threadsafe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74005 91177308-0d34-0410-b5e6-96231b3b80d8