diff options
Diffstat (limited to 'contrib/llvm/lib/System/Win32/ThreadLocal.inc')
-rw-r--r-- | contrib/llvm/lib/System/Win32/ThreadLocal.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm/lib/System/Win32/ThreadLocal.inc b/contrib/llvm/lib/System/Win32/ThreadLocal.inc index c8f7840..b8b933c 100644 --- a/contrib/llvm/lib/System/Win32/ThreadLocal.inc +++ b/contrib/llvm/lib/System/Win32/ThreadLocal.inc @@ -46,4 +46,8 @@ void ThreadLocalImpl::setInstance(const void* d){ assert(errorcode != 0); } +void ThreadLocalImpl::removeInstance() { + setInstance(0); +} + } |