diff options
author | Austin Wise <AustinWise@gmail.com> | 2018-10-07 18:58:10 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-10-07 18:58:10 -0700 |
commit | eeef1c1379b9f49261f66093b355ac8c12e47485 (patch) | |
tree | 353e440ccdf0c4c3f3571fc4c096d4f1c95ebe4e /src/vm/methodtable.inl | |
parent | 645faa5b24c32741944cad55f58fd66d6c8abfa4 (diff) | |
download | coreclr-eeef1c1379b9f49261f66093b355ac8c12e47485.tar.gz coreclr-eeef1c1379b9f49261f66093b355ac8c12e47485.tar.bz2 coreclr-eeef1c1379b9f49261f66093b355ac8c12e47485.zip |
Remove some dead remoting and context static things (#20277)
* Remove IsRemotingIntercepted methods that always return false.
* Remove GetOptionalMembersAllocationSize parameters that are always false.
* Remove references to context static.
Remove references in comments and methodnames.
* Remove RemotingVtsInfo.
Diffstat (limited to 'src/vm/methodtable.inl')
-rw-r--r-- | src/vm/methodtable.inl | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/vm/methodtable.inl b/src/vm/methodtable.inl index 602163067d..52c52c8e1e 100644 --- a/src/vm/methodtable.inl +++ b/src/vm/methodtable.inl @@ -1388,26 +1388,17 @@ FORCEINLINE DWORD MethodTable::GetOffsetOfOptionalMember(OptionalMemberId id) } //========================================================================================== -// this is not the pretties function however I got bitten pretty hard by the computation -// of the allocation size of a MethodTable done "by hand" in few places. -// Essentially the idea is that this is going to centralize computation of size for optional -// members so the next morons that need to add an optional member will look at this function -// and hopefully be less exposed to code doing size computation behind their back inline DWORD MethodTable::GetOptionalMembersAllocationSize(DWORD dwMultipurposeSlotsMask, - BOOL needsRemotableMethodInfo, BOOL needsGenericsStaticsInfo, BOOL needsGuidInfo, BOOL needsCCWTemplate, BOOL needsRCWPerTypeData, - BOOL needsRemotingVtsInfo, BOOL needsTokenOverflow) { LIMITED_METHOD_CONTRACT; DWORD size = c_OptionalMembersStartOffsets[dwMultipurposeSlotsMask] - sizeof(MethodTable); - if (needsRemotableMethodInfo) - size += sizeof(UINT_PTR); if (needsGenericsStaticsInfo) size += sizeof(GenericsStaticsInfo); if (needsGuidInfo) @@ -1416,8 +1407,6 @@ inline DWORD MethodTable::GetOptionalMembersAllocationSize(DWORD dwMultipurposeS size += sizeof(UINT_PTR); if (needsRCWPerTypeData) size += sizeof(UINT_PTR); - if (needsRemotingVtsInfo) - size += sizeof(UINT_PTR); if (dwMultipurposeSlotsMask & enum_flag_HasInterfaceMap) size += sizeof(UINT_PTR); if (needsTokenOverflow) |