diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
commit | eb11fae6d08f479c0799db45860a98af528fa6e7 (patch) | |
tree | 44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /lib/Support/ManagedStatic.cpp | |
parent | b8a2042aa938069e862750553db0e4d82d25822c (diff) |
Notes
Diffstat (limited to 'lib/Support/ManagedStatic.cpp')
-rw-r--r-- | lib/Support/ManagedStatic.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Support/ManagedStatic.cpp b/lib/Support/ManagedStatic.cpp index fb7cd070c42d..1c884dc70fc9 100644 --- a/lib/Support/ManagedStatic.cpp +++ b/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; } |