diff options
Diffstat (limited to 'llvm/lib/System/Unix/ThreadLocal.inc')
-rw-r--r-- | llvm/lib/System/Unix/ThreadLocal.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Unix/ThreadLocal.inc b/llvm/lib/System/Unix/ThreadLocal.inc index 83d554d3077..6769520a6fb 100644 --- a/llvm/lib/System/Unix/ThreadLocal.inc +++ b/llvm/lib/System/Unix/ThreadLocal.inc @@ -22,4 +22,5 @@ ThreadLocalImpl::ThreadLocalImpl() { } ThreadLocalImpl::~ThreadLocalImpl() { } void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);} const void* ThreadLocalImpl::getInstance() { return data; } +void ThreadLocalImpl::removeInstance() { setInstance(0); } } |