diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2018-10-05 03:08:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 03:08:51 +0200 |
commit | da6498e6c1013dd38d33e782bc777bd89aa0f0ee (patch) | |
tree | 66db7870d220d7cf717af5ef4aa8fdfc950590b5 /src/vm/methodtablebuilder.h | |
parent | 7f59d17e2741e69bf878b8b168828de3a0a3d12e (diff) | |
download | coreclr-da6498e6c1013dd38d33e782bc777bd89aa0f0ee.tar.gz coreclr-da6498e6c1013dd38d33e782bc777bd89aa0f0ee.tar.bz2 coreclr-da6498e6c1013dd38d33e782bc777bd89aa0f0ee.zip |
Remove context statics stuff (#20256)
* Remove context statics stuff part 1
This change removes all context statics stuff from the runtime since
context statics are not supported and this code was obsolete.
* Remove context statics stuff from the debugger code
Diffstat (limited to 'src/vm/methodtablebuilder.h')
-rw-r--r-- | src/vm/methodtablebuilder.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/vm/methodtablebuilder.h b/src/vm/methodtablebuilder.h index a2275af24f..cbcde31e03 100644 --- a/src/vm/methodtablebuilder.h +++ b/src/vm/methodtablebuilder.h @@ -79,15 +79,6 @@ public: #endif //_DEBUG }; // struct bmtGenericsInfo - - // information for Thread and Context Static. Filled by InitializedFieldDesc and used when - // setting up a MethodTable - struct bmtContextStaticInfo - { - - inline bmtContextStaticInfo() { LIMITED_METHOD_CONTRACT; memset((void *)this, NULL, sizeof(*this)); } - }; - MethodTableBuilder( MethodTable * pHalfBakedMT, EEClass * pHalfBakedClass, @@ -114,7 +105,6 @@ public: NULL, NULL, NULL, - NULL, NULL); } public: @@ -2212,7 +2202,6 @@ private: bmtMethodImplInfo *bmtMethodImpl; const bmtGenericsInfo *bmtGenerics; bmtEnumFieldInfo *bmtEnumFields; - bmtContextStaticInfo *bmtCSInfo; void SetBMTData( LoaderAllocator *bmtAllocator, @@ -2229,8 +2218,7 @@ private: bmtGCSeriesInfo *bmtGCSeries, bmtMethodImplInfo *bmtMethodImpl, const bmtGenericsInfo *bmtGenerics, - bmtEnumFieldInfo *bmtEnumFields, - bmtContextStaticInfo *bmtCSInfo); + bmtEnumFieldInfo *bmtEnumFields); // -------------------------------------------------------------------------------------------- // Returns the parent bmtRTType pointer. Can be null if no parent exists. @@ -2585,7 +2573,6 @@ private: MethodTable***, bmtMethAndFieldDescs*, bmtFieldPlacement*, - bmtContextStaticInfo*, unsigned * totalDeclaredSize); // -------------------------------------------------------------------------------------------- @@ -2955,8 +2942,7 @@ private: BOOL fHasGenericsStaticsInfo, BOOL fNeedsRCWPerTypeData, BOOL fNeedsRemotableMethodInfo, - BOOL fNeedsRemotingVtsInfo, - BOOL fHasContextStatics + BOOL fNeedsRemotingVtsInfo #ifdef FEATURE_COMINTEROP , BOOL bHasDynamicInterfaceMap #endif |