projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c207c2
)
Fix --disable-threads build, PR7949.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 20 Aug 2010 20:54:37 +0000
(20:54 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 20 Aug 2010 20:54:37 +0000
(20:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111676
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/ThreadLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/System/ThreadLocal.cpp
b/lib/System/ThreadLocal.cpp
index b84a8e7fd6f0c35698d07b423bf1450f72655e95..f6a55a1c0b9b183b1fbccc7976e52bf95406abbc 100644
(file)
--- 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<void*>(d);}
const void* ThreadLocalImpl::getInstance() { return data; }
+void ThreadLocalImpl::removeInstance() { data = 0; }
}
#else