summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/System/Win32/ThreadLocal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/System/Win32/ThreadLocal.inc')
-rw-r--r--contrib/llvm/lib/System/Win32/ThreadLocal.inc4
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);
+}
+
}
OpenPOWER on IntegriCloud