#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE)
void InitJITHelpers1()
{
-#ifdef FEATURE_PAL // TODO
STANDARD_VM_CONTRACT;
_ASSERTE(g_SystemInfo.dwNumberOfProcessors != 0);
ECall::DynamicallyAssignFCallImpl(GetEEFuncEntryPoint(AllocateString_MP_FastPortable), ECall::FastAllocateString);
}
}
-#endif
JIT_UpdateWriteBarrierState(GCHeapUtilities::IsServerHeap());
}
{
_ASSERTE (m_pMethTab->IsArray());
+ ENABLE_FORBID_GC_LOADER_USE_IN_THIS_SCOPE();
+
// The type should already be loaded
// See also: MethodTable::DoFullyLoad
TypeHandle th = ClassLoader::LoadArrayTypeThrowing(m_pMethTab->GetApproxArrayElementTypeHandle(),