Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: src/IceGlobalContext.h

Issue 865973006: Subzero: Make thread_local work under MacOS 10.6. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: ATTRIBUTE_TLS --> ICE_ATTRIBUTE_TLS Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index 751147ee48502811e0f37eaf21c92d0dae0ad17c..1f0a600d485fa8dcba7d3c5915d0bdc936e0428d 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -274,7 +274,7 @@ private:
std::vector<ThreadContext *> AllThreadContexts;
// Each thread has its own TLS pointer which is also held in
// AllThreadContexts.
- thread_local static ThreadContext *TLS;
+ ICE_ATTRIBUTE_TLS static ThreadContext *TLS;
// Private helpers for mangleName()
typedef llvm::SmallVector<char, 32> ManglerVector;
« no previous file with comments | « src/IceDefs.h ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698