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