Fix --disable-threads build, PR7949.

llvm-svn: 111676
This commit is contained in:
Daniel Dunbar 2010-08-20 20:54:37 +00:00
parent fe71238b8d
commit 2b2b79edde
1 changed files with 1 additions and 0 deletions

View File

@ -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