diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-10-11 13:04:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-11 13:04:43 -0700 |
commit | 27a25bd37fa1fe6201c27709b1884e1b328f8beb (patch) | |
tree | 18b7773a7d8e18cca609417940804d8dff491da2 /src/vm/amd64/cgencpu.h | |
parent | d07f1b24c4a69e6a205f8510f3dcfae0ad96aae8 (diff) | |
download | coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.tar.gz coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.tar.bz2 coreclr-27a25bd37fa1fe6201c27709b1884e1b328f8beb.zip |
Delete !FEATURE_IMPLICIT_TLS (#14398)
Linux and Windows arm64 are using the regular C/C++ thread local statics. This change unifies the remaining Windows architectures to be on the same plan.
Diffstat (limited to 'src/vm/amd64/cgencpu.h')
-rw-r--r-- | src/vm/amd64/cgencpu.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/vm/amd64/cgencpu.h b/src/vm/amd64/cgencpu.h index 98e9770858..b83437039b 100644 --- a/src/vm/amd64/cgencpu.h +++ b/src/vm/amd64/cgencpu.h @@ -104,13 +104,6 @@ EXTERN_C void FastCallFinalizeWorker(Object *obj, PCODE funcPtr); #define X86RegFromAMD64Reg(extended_reg) \ ((X86Reg)(((int)extended_reg) & X86_REGISTER_MASK)) -// Max size of optimized TLS helpers -#ifdef _DEBUG -// Debug build needs extra space for last error trashing -#define TLS_GETTER_MAX_SIZE 0x30 -#else -#define TLS_GETTER_MAX_SIZE 0x18 -#endif //======================================================================= // IMPORTANT: This value is used to figure out how much to allocate @@ -538,26 +531,22 @@ inline BOOL ClrFlushInstructionCache(LPCVOID pCodeAddr, size_t sizeOfCode) return TRUE; } -#ifndef FEATURE_IMPLICIT_TLS // // JIT HELPER ALIASING FOR PORTABILITY. // // Create alias for optimized implementations of helpers provided on this platform // -#define JIT_GetSharedGCStaticBase JIT_GetSharedGCStaticBase_InlineGetAppDomain -#define JIT_GetSharedNonGCStaticBase JIT_GetSharedNonGCStaticBase_InlineGetAppDomain -#define JIT_GetSharedGCStaticBaseNoCtor JIT_GetSharedGCStaticBaseNoCtor_InlineGetAppDomain -#define JIT_GetSharedNonGCStaticBaseNoCtor JIT_GetSharedNonGCStaticBaseNoCtor_InlineGetAppDomain -#endif // FEATURE_IMPLICIT_TLS +#define JIT_GetSharedGCStaticBase JIT_GetSharedGCStaticBase_SingleAppDomain +#define JIT_GetSharedNonGCStaticBase JIT_GetSharedNonGCStaticBase_SingleAppDomain +#define JIT_GetSharedGCStaticBaseNoCtor JIT_GetSharedGCStaticBaseNoCtor_SingleAppDomain +#define JIT_GetSharedNonGCStaticBaseNoCtor JIT_GetSharedNonGCStaticBaseNoCtor_SingleAppDomain #ifndef FEATURE_PAL - #define JIT_ChkCastClass JIT_ChkCastClass #define JIT_ChkCastClassSpecial JIT_ChkCastClassSpecial #define JIT_IsInstanceOfClass JIT_IsInstanceOfClass #define JIT_ChkCastInterface JIT_ChkCastInterface #define JIT_IsInstanceOfInterface JIT_IsInstanceOfInterface - #endif // FEATURE_PAL #define JIT_Stelem_Ref JIT_Stelem_Ref |