Add support for const thread locals.
[oota-llvm.git] / include / llvm / System / ThreadLocal.h
index 7627be26d2e7313aa3458f7e9a5cb105dce75571..39b1e64be0cdb2c5fa0085d9010f4d1b8502b8e6 100644 (file)
@@ -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>