commit | 826c148aa5af36cca688b7da447bc0b22905d904 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Jul 28 22:49:43 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Jul 28 22:49:43 2010 +0000 |
tree | fc9b9ea926dd003f32074b931b87375efd40eced | |
parent | e850e6e162064232d06a3638112fb7d000b27bc4 [diff] [blame] |
Add an erase() method to llvm::ThreadLocal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109686 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/Win32/ThreadLocal.inc b/lib/System/Win32/ThreadLocal.inc index c8f7840..b8b933c 100644 --- a/lib/System/Win32/ThreadLocal.inc +++ b/lib/System/Win32/ThreadLocal.inc
@@ -46,4 +46,8 @@ assert(errorcode != 0); } +void ThreadLocalImpl::removeInstance() { + setInstance(0); +} + }