From b0270147b6fcecebcb456a8c1db491a2a1664e5a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 20 Aug 2010 20:54:37 +0000 Subject: [PATCH] Fix --disable-threads build, PR7949. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111676 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/ThreadLocal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/System/ThreadLocal.cpp b/lib/System/ThreadLocal.cpp index b84a8e7fd6f..f6a55a1c0b9 100644 --- a/lib/System/ThreadLocal.cpp +++ b/lib/System/ThreadLocal.cpp @@ -27,6 +27,7 @@ ThreadLocalImpl::ThreadLocalImpl() { } ThreadLocalImpl::~ThreadLocalImpl() { } void ThreadLocalImpl::setInstance(const void* d) { data = const_cast(d);} const void* ThreadLocalImpl::getInstance() { return data; } +void ThreadLocalImpl::removeInstance() { data = 0; } } #else