summaryrefslogtreecommitdiff
path: root/src/vm/methodtable.cpp
diff options
context:
space:
mode:
authorDavid Wrighton <davidwr@microsoft.com>2019-04-24 17:01:31 -0700
committerGitHub <noreply@github.com>2019-04-24 17:01:31 -0700
commit4a2654124ecf38300a717db79926334703abeb70 (patch)
tree3a1ef48777671541574388420eb3411c38795205 /src/vm/methodtable.cpp
parente9691546d308fde4e56cc821f8c9bfda7e9a8b91 (diff)
downloadcoreclr-4a2654124ecf38300a717db79926334703abeb70.tar.gz
coreclr-4a2654124ecf38300a717db79926334703abeb70.tar.bz2
coreclr-4a2654124ecf38300a717db79926334703abeb70.zip
More multi-appdomain support removal (#23921)
More multi-appdomain support removal - Remove DomainLocalBlock - Remove DomainModule - Remove FindDomain(File/Module/Assembly) - Remove GetDomainModule - Remove variants of GetDomain(File/Assembly) that take AppDomain parameter - Adjust contracts to be less strict - GetDomainFile/Assembly no longer need a complex contract as multi-domain support does not exist - Eliminiate uses of encoded ModuleID
Diffstat (limited to 'src/vm/methodtable.cpp')
-rw-r--r--src/vm/methodtable.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/vm/methodtable.cpp b/src/vm/methodtable.cpp
index 27083b0c40..f1b1f493b0 100644
--- a/src/vm/methodtable.cpp
+++ b/src/vm/methodtable.cpp
@@ -513,7 +513,7 @@ BOOL MethodTable::ValidateWithPossibleAV()
#ifndef DACCESS_COMPILE
//==========================================================================================
-BOOL MethodTable::IsClassInited(AppDomain* pAppDomain /* = NULL */)
+BOOL MethodTable::IsClassInited()
{
WRAPPER_NO_CONTRACT;
@@ -523,15 +523,7 @@ BOOL MethodTable::IsClassInited(AppDomain* pAppDomain /* = NULL */)
if (IsSharedByGenericInstantiations())
return FALSE;
- DomainLocalModule *pLocalModule;
- if (pAppDomain == NULL)
- {
- pLocalModule = GetDomainLocalModule();
- }
- else
- {
- pLocalModule = GetDomainLocalModule(pAppDomain);
- }
+ DomainLocalModule *pLocalModule = GetDomainLocalModule();
_ASSERTE(pLocalModule != NULL);