projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for const thread locals.
[oota-llvm.git]
/
include
/
llvm
/
System
/
ThreadLocal.h
diff --git
a/include/llvm/System/ThreadLocal.h
b/include/llvm/System/ThreadLocal.h
index 7627be26d2e7313aa3458f7e9a5cb105dce75571..39b1e64be0cdb2c5fa0085d9010f4d1b8502b8e6 100644
(file)
--- a/
include/llvm/System/ThreadLocal.h
+++ b/
include/llvm/System/ThreadLocal.h
@@
-24,8
+24,8
@@
namespace llvm {
public:
ThreadLocalImpl();
virtual ~ThreadLocalImpl();
- void setInstance(void* d);
- void* getInstance();
+ void setInstance(
const
void* d);
+
const
void* getInstance();
};
template<class T>