diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-11-28 18:18:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 18:18:04 -0800 |
commit | b6d47b3a1b5b05c25968701615707e381f35a7ce (patch) | |
tree | 33056aabf9b36b2fbfd7d91218bd0a6fa3ff2cf3 /src/vm/methoditer.h | |
parent | e7ead79fedc52e17f2cf9befd5c0f5091d70f909 (diff) | |
download | coreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.tar.gz coreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.tar.bz2 coreclr-b6d47b3a1b5b05c25968701615707e381f35a7ce.zip |
Delete code related to LoaderOptimization and SharedDomain (#21031)
Diffstat (limited to 'src/vm/methoditer.h')
-rw-r--r-- | src/vm/methoditer.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/vm/methoditer.h b/src/vm/methoditer.h index 9d605ec53e..05fbb0a59b 100644 --- a/src/vm/methoditer.h +++ b/src/vm/methoditer.h @@ -49,10 +49,6 @@ class LoadedMethodDescIterator AssemblyIterationFlags m_assemIterationFlags; ModuleIterationOption m_moduleIterationFlags; - // These are used when iterating over the SharedDomain - SharedDomain::SharedAssemblyIterator m_sharedAssemblyIterator; - Assembly::ModuleIterator m_sharedModuleIterator; - EETypeHashTable::Iterator m_typeIterator; EETypeHashEntry * m_typeIteratorEntry; BOOL m_startedNonGenericType; @@ -66,28 +62,6 @@ class LoadedMethodDescIterator #endif //_DEBUG public: - // Defines the set of assemblies that LoadedMethodDescIterator should consider. - // Typical usages: - // * Debugger controller (for setting breakpoint) just uses kModeAllADAssemblies. - // * RejitManager uses the iterator once with kModeSharedDomainAssemblies, and - // then a bunch of times (once per AD) with kModeUnsharedADAssemblies to - // ensure all assemblies in all ADs are considered, and to avoid unnecessary - // dupes for domain-neutral assemblies. - enum AssemblyIterationMode - { - // Default, used by debugger's breakpoint controller. Iterates through all - // Assemblies associated with the specified AppDomain - kModeAllADAssemblies, - - // Iterate through only the *unshared* assemblies associated with the specified - // AppDomain. - kModeUnsharedADAssemblies, - - // Rather than iterating through Assemblies associated with an AppDomain, just - // iterate over all Assemblies associated with the SharedDomain - kModeSharedDomainAssemblies, - }; - // Iterates next MethodDesc. Updates the holder only if the assembly differs from the previous one. // Caller should not release (i.e. change) the holder explicitly between calls, otherwise collectible // assembly might be without a reference and get deallocated (even the native part). @@ -96,7 +70,6 @@ public: void Start(AppDomain * pAppDomain, Module *pModule, mdMethodDef md, - AssemblyIterationMode assemblyIterationMode, AssemblyIterationFlags assemIterationFlags = (AssemblyIterationFlags)(kIncludeLoaded | kIncludeExecution), ModuleIterationOption moduleIterationFlags = kModIterIncludeLoaded); void Start(AppDomain * pAppDomain, Module *pModule, mdMethodDef md, MethodDesc *pDesc); @@ -105,21 +78,16 @@ public: AppDomain * pAppDomain, Module *pModule, mdMethodDef md, - AssemblyIterationMode assemblyIterationMode = kModeAllADAssemblies, AssemblyIterationFlags assemblyIterationFlags = (AssemblyIterationFlags)(kIncludeLoaded | kIncludeExecution), ModuleIterationOption moduleIterationFlags = kModIterIncludeLoaded) { LIMITED_METHOD_CONTRACT; - Start(pAppDomain, pModule, md, assemblyIterationMode, assemblyIterationFlags, moduleIterationFlags); + Start(pAppDomain, pModule, md, assemblyIterationFlags, moduleIterationFlags); } LoadedMethodDescIterator(void); protected: - AssemblyIterationMode m_assemblyIterationMode; - BOOL m_fSharedDomain; - Module * GetCurrentModule(); - BOOL NextSharedModule(); }; // class LoadedMethodDescIterator |