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:
Diffstat (limited to 'src/Native/Runtime/RuntimeInstance.cpp')
-rw-r--r--src/Native/Runtime/RuntimeInstance.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Native/Runtime/RuntimeInstance.cpp b/src/Native/Runtime/RuntimeInstance.cpp
index d2efcf3bd..0f1db5c64 100644
--- a/src/Native/Runtime/RuntimeInstance.cpp
+++ b/src/Native/Runtime/RuntimeInstance.cpp
@@ -349,8 +349,6 @@ Module * RuntimeInstance::FindModuleByOsHandle(HANDLE hOsHandle)
RuntimeInstance::RuntimeInstance() :
m_pThreadStore(NULL),
- m_fStandaloneExeMode(false),
- m_pStandaloneExeModule(NULL),
m_pStaticGCRefsDescChunkList(NULL),
m_pThreadStaticGCRefsDescChunkList(NULL),
m_pGenericUnificationHashtable(NULL),
@@ -382,13 +380,6 @@ EXTERN_C void REDHAWK_CALLCONV RhpSetHaveNewClasslibs();
bool RuntimeInstance::RegisterModule(ModuleHeader *pModuleHeader)
{
- // Determine whether we're in standalone exe mode. If we are we'll see the runtime module load followed by
- // exactly one additional module (the exe itself). The exe module will have a standalone flag set in its
- // header.
- ASSERT(m_fStandaloneExeMode == false);
- if (pModuleHeader->Flags & ModuleHeader::StandaloneExe)
- m_fStandaloneExeMode = true;
-
CreateHolder<Module> pModule = Module::Create(pModuleHeader);
if (NULL == pModule)
@@ -401,9 +392,6 @@ bool RuntimeInstance::RegisterModule(ModuleHeader *pModuleHeader)
m_ModuleList.PushHead(pModule);
}
- if (m_fStandaloneExeMode)
- m_pStandaloneExeModule = pModule;
-
if (pModule->IsClasslibModule())
RhpSetHaveNewClasslibs();