From d300a28c40808833c63713c2a69543db20ce7c5d Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 15 May 2009 08:07:23 +0000 Subject: [PATCH] Fix an unfortunate typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71852 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ManagedStatic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/ManagedStatic.h b/include/llvm/Support/ManagedStatic.h index e6384c72135..c1ff0fef935 100644 --- a/include/llvm/Support/ManagedStatic.h +++ b/include/llvm/Support/ManagedStatic.h @@ -83,7 +83,7 @@ public: sys::MemoryFence(); InitFlag = 2; } else if (OldFlag == 1) - while (OldFlag == 1) ; + while (InitFlag == 1) ; return *static_cast(Ptr); } -- 2.34.1