diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-08-20 20:54:37 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-20 20:54:37 +0000 |
| commit | 2b2b79eddee48e5d415d2efe4aa11577a9361ce8 (patch) | |
| tree | 29b2b0da4ab90df3f98ccaf6b1ddf47d0948261c /llvm/lib/System | |
| parent | fe71238b8dd91c03b0676225a69e939b24cd26df (diff) | |
| download | bcm5719-llvm-2b2b79eddee48e5d415d2efe4aa11577a9361ce8.tar.gz bcm5719-llvm-2b2b79eddee48e5d415d2efe4aa11577a9361ce8.zip | |
Fix --disable-threads build, PR7949.
llvm-svn: 111676
Diffstat (limited to 'llvm/lib/System')
| -rw-r--r-- | llvm/lib/System/ThreadLocal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/ThreadLocal.cpp b/llvm/lib/System/ThreadLocal.cpp index b84a8e7fd6f..f6a55a1c0b9 100644 --- a/llvm/lib/System/ThreadLocal.cpp +++ b/llvm/lib/System/ThreadLocal.cpp @@ -27,6 +27,7 @@ ThreadLocalImpl::ThreadLocalImpl() { } ThreadLocalImpl::~ThreadLocalImpl() { } void ThreadLocalImpl::setInstance(const void* d) { data = const_cast<void*>(d);} const void* ThreadLocalImpl::getInstance() { return data; } +void ThreadLocalImpl::removeInstance() { data = 0; } } #else |

