projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix preload instruction isel. Only v7 supports pli, and only v7 with mp extension...
[oota-llvm.git]
/
lib
/
System
/
ThreadLocal.cpp
diff --git
a/lib/System/ThreadLocal.cpp
b/lib/System/ThreadLocal.cpp
index b84a8e7fd6f0c35698d07b423bf1450f72655e95..f6a55a1c0b9b183b1fbccc7976e52bf95406abbc 100644
(file)
--- a/
lib/System/ThreadLocal.cpp
+++ b/
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