diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-30 16:33:32 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-30 16:33:32 +0000 |
| commit | 51315c45ff5643a27f9c84b816db54ee870ba29b (patch) | |
| tree | 1d87443fa0e53d3e6b315ce25787e64be0906bf7 /contrib/llvm/lib/Support/ManagedStatic.cpp | |
| parent | 6dfd050075216be8538ae375a22d30db72916f7e (diff) | |
| parent | eb11fae6d08f479c0799db45860a98af528fa6e7 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/Support/ManagedStatic.cpp')
| -rw-r--r-- | contrib/llvm/lib/Support/ManagedStatic.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/llvm/lib/Support/ManagedStatic.cpp b/contrib/llvm/lib/Support/ManagedStatic.cpp index fb7cd070c42d..1c884dc70fc9 100644 --- a/contrib/llvm/lib/Support/ManagedStatic.cpp +++ b/contrib/llvm/lib/Support/ManagedStatic.cpp @@ -28,9 +28,6 @@ static void initializeMutex() { } static sys::Mutex* getManagedStaticMutex() { - // We need to use a function local static here, since this can get called - // during a static constructor and we need to guarantee that it's initialized - // correctly. llvm::call_once(mutex_init_flag, initializeMutex); return ManagedStaticMutex; } |
