Ejemplo n.º 1
0
extern "C" void __stdcall sxsJitStartup(CoreClrCallbacks const& cccallbacks)
{
#ifndef SELF_NO_HOST
    InitUtilcode(cccallbacks);
#endif

#if COR_JIT_EE_VERSION <= 460
    jitStartup(JitHost::getJitHost());
#endif
}
Ejemplo n.º 2
0
extern "C" BOOL WINAPI DllMain(HANDLE hInstance, DWORD dwReason, LPVOID pvReserved)
{
    if (dwReason == DLL_PROCESS_ATTACH)
    {
        g_hInst = (HINSTANCE)hInstance;
        DisableThreadLibraryCalls((HINSTANCE)hInstance);
#if defined(SELF_NO_HOST) && COR_JIT_EE_VERSION <= 460
        jitStartup(JitHost::getJitHost());
#endif
    }
    else if (dwReason == DLL_PROCESS_DETACH)
    {
        jitShutdown();
    }

    return TRUE;
}
Ejemplo n.º 3
0
void jitOnDllProcessAttach()
{
    jitStartup();
}
Ejemplo n.º 4
0
void jitOnDllProcessAttach()
{
#if COR_JIT_EE_VERSION <= 460
    jitStartup(JitHost::getJitHost());
#endif
}