summaryrefslogtreecommitdiff
path: root/src/vm/jitinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/jitinterface.cpp')
-rw-r--r--src/vm/jitinterface.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vm/jitinterface.cpp b/src/vm/jitinterface.cpp
index d326a92ccb..f49ced56d0 100644
--- a/src/vm/jitinterface.cpp
+++ b/src/vm/jitinterface.cpp
@@ -9932,19 +9932,6 @@ DWORD CEEInfo::getThreadTLSIndex(void **ppIndirection)
if (ppIndirection != NULL)
*ppIndirection = NULL;
- JIT_TO_EE_TRANSITION();
-
-#if !defined(CROSSGEN_COMPILE) && !defined(FEATURE_IMPLICIT_TLS)
- result = GetThreadTLSIndex();
-
- // The JIT can use the optimized TLS access only if the runtime is using it as well.
- // (This is necessaryto make managed code work well under appverifier.)
- if (GetTLSAccessMode(result) == TLSACCESS_GENERIC)
- result = (DWORD)-1;
-#endif
-
- EE_TO_JIT_TRANSITION();
-
return result;
}