Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-18 05:14:56 +0300
committerJan Kotas <jkotas@microsoft.com>2016-02-27 05:59:28 +0300
commit85cb5dc1763ea1de1a21705b5d3fb5bc9e24bc9f (patch)
treedf4e542d3af605aea911947be78e7659639fd5ac /src/Native/Runtime/RuntimeInstance.cpp
parente4806d61608bdb111fb98f25736337d46182f730 (diff)
Delete SimpleModule registration
Diffstat (limited to 'src/Native/Runtime/RuntimeInstance.cpp')
-rw-r--r--src/Native/Runtime/RuntimeInstance.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Native/Runtime/RuntimeInstance.cpp b/src/Native/Runtime/RuntimeInstance.cpp
index fa4ab8550..48898f295 100644
--- a/src/Native/Runtime/RuntimeInstance.cpp
+++ b/src/Native/Runtime/RuntimeInstance.cpp
@@ -449,27 +449,6 @@ bool RuntimeInstance::RegisterModule(ModuleHeader *pModuleHeader)
return true;
}
-bool RuntimeInstance::RegisterSimpleModule(SimpleModuleHeader *pModuleHeader)
-{
- CreateHolder<Module> pModule = Module::Create(pModuleHeader);
-
- if (NULL == pModule)
- return false;
-
- {
- // WARNING: This region must be kept small and must not callout
- // to arbitrary code. See Thread::Hijack for more details.
- ReaderWriterLock::WriteHolder write(&m_ModuleListLock);
- m_ModuleList.PushHead(pModule);
- }
-
- pModule.SuppressRelease();
- // This event must occur after the module is added to the enumeration
- DebugEventSource::SendModuleLoadEvent(pModule);
- return true;
-}
-
-
void RuntimeInstance::UnregisterModule(Module *pModule)
{
{