mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix --disable-threads build, PR7949.
llvm-svn: 111676
This commit is contained in:
parent
2a9a42fbb1
commit
22ad30651b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user