diff options
author | antofik <antofik@gmail.com> | 2018-01-22 05:03:51 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-01-21 18:03:51 -0800 |
commit | 59714b683f40fac869050ca08acc5503e84dc776 (patch) | |
tree | 1512f4562d579977288002abb6432b32a2df2e8f /src/vm/amd64 | |
parent | 3bd16103e76fbad8de7a37cb37f6a6f74ce46dfd (diff) | |
download | coreclr-59714b683f40fac869050ca08acc5503e84dc776.tar.gz coreclr-59714b683f40fac869050ca08acc5503e84dc776.tar.bz2 coreclr-59714b683f40fac869050ca08acc5503e84dc776.zip |
Remove AppDomainLeaks configuration option (#15956)
Removed all usages of AppDomainLeaks configuration option and
CHECK_APP_DOMAIN_LEAKS feature
Fix #12094
Diffstat (limited to 'src/vm/amd64')
-rw-r--r-- | src/vm/amd64/JitHelpers_Fast.asm | 16 | ||||
-rw-r--r-- | src/vm/amd64/jithelpers_fast.S | 16 |
2 files changed, 0 insertions, 32 deletions
diff --git a/src/vm/amd64/JitHelpers_Fast.asm b/src/vm/amd64/JitHelpers_Fast.asm index 5e0d79f74f..6b94c66782 100644 --- a/src/vm/amd64/JitHelpers_Fast.asm +++ b/src/vm/amd64/JitHelpers_Fast.asm @@ -754,22 +754,6 @@ LEAF_ENTRY JIT_Stelem_Ref, _TEXT test r8, r8 jz AssigningNull -ifdef CHECK_APP_DOMAIN_LEAKS - ; get Array TypeHandle - mov r9, [r10 + OFFSETOF__MethodTable__m_ElementType] ; 10h -> typehandle offset - ; check for non-MT - test r9, 2 - jnz NoCheck - - ; Check VMflags of element type - mov r9, [r9 + OFFSETOF__MethodTable__m_pEEClass] - mov r9d, dword ptr [r9 + OFFSETOF__EEClass__m_wAuxFlags] - test r9d, EEClassFlags - jnz ArrayStoreCheck_Helper - - NoCheck: -endif - mov r9, [r10 + OFFSETOF__MethodTable__m_ElementType] ; 10h -> typehandle offset ; check for exact match diff --git a/src/vm/amd64/jithelpers_fast.S b/src/vm/amd64/jithelpers_fast.S index 0ec63f7c5c..63b54297a6 100644 --- a/src/vm/amd64/jithelpers_fast.S +++ b/src/vm/amd64/jithelpers_fast.S @@ -410,22 +410,6 @@ LEAF_ENTRY JIT_Stelem_Ref, _TEXT test rdx, rdx jz LOCAL_LABEL(AssigningNull) -#ifdef CHECK_APP_DOMAIN_LEAKS - // get Array TypeHandle - mov rcx, [r10 + OFFSETOF__MethodTable__m_ElementType] // 10h -> typehandle offset, - // check for non-MT - test rcx, 2 - jnz LOCAL_LABEL(NoCheck) - - // Check VMflags of element type - mov rcx, [rcx + OFFSETOF__MethodTable__m_pEEClass] - mov ecx, dword ptr [rcx + OFFSETOF__EEClass__m_wAuxFlags] - test ecx, EEClassFlags - jnz C_FUNC(ArrayStoreCheck_Helper) - - LOCAL_LABEL(NoCheck): -#endif - mov rcx, [r10 + OFFSETOF__MethodTable__m_ElementType] // 10h -> typehandle offset // check for exact match |