diff options
author | Steve MacLean <stmaclea@microsoft.com> | 2019-05-08 16:08:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-08 16:08:29 -0400 |
commit | 883a27180106affebd45814f5b6fc236c9d7eab2 (patch) | |
tree | c06d84c9bea73effa8dc7a2c8748d42acbc7f577 /src/classlibnative | |
parent | b7836c0b6e59f4e6bd6af984569f4ce8b3573f4e (diff) | |
download | coreclr-883a27180106affebd45814f5b6fc236c9d7eab2.tar.gz coreclr-883a27180106affebd45814f5b6fc236c9d7eab2.tar.bz2 coreclr-883a27180106affebd45814f5b6fc236c9d7eab2.zip |
Remove more MDA support code (#24457)
* Remove more MDA support code
* PR Feedback
Diffstat (limited to 'src/classlibnative')
-rw-r--r-- | src/classlibnative/bcltype/objectnative.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/classlibnative/bcltype/objectnative.cpp b/src/classlibnative/bcltype/objectnative.cpp index a5619e107f..14e4cee002 100644 --- a/src/classlibnative/bcltype/objectnative.cpp +++ b/src/classlibnative/bcltype/objectnative.cpp @@ -19,7 +19,6 @@ #include "object.h" #include "comsynchronizable.h" #include "eeconfig.h" -#include "mdaassistants.h" /********************************************************************/ @@ -76,17 +75,8 @@ NOINLINE static INT32 GetHashCodeHelper(OBJECTREF objRef) HELPER_METHOD_FRAME_BEGIN_RET_ATTRIB_1(Frame::FRAME_ATTR_EXACT_DEPTH|Frame::FRAME_ATTR_CAPTURE_DEPTH_2, objRef); -#ifdef MDA_SUPPORTED - MdaModuloObjectHashcode* pProbe = MDA_GET_ASSISTANT(ModuloObjectHashcode); -#endif - idx = objRef->GetHashCodeEx(); -#ifdef MDA_SUPPORTED - if (pProbe) - idx = idx % pProbe->GetModulo(); -#endif - HELPER_METHOD_FRAME_END(); FC_INNER_EPILOG(); return idx; @@ -110,9 +100,6 @@ FCIMPL1(INT32, ObjectNative::GetHashCode, Object* obj) { OBJECTREF objRef(obj); -#ifdef MDA_SUPPORTED - if (!MDA_GET_ASSISTANT(ModuloObjectHashcode)) -#endif { DWORD bits = objRef->GetHeader()->GetBits(); |