mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-05 03:19:03 +02:00
DMD 2.032 Merge.
This commit is contained in:
@@ -874,8 +874,11 @@ const LLStructType* DtoMutexType()
|
||||
opaque->refineAbstractTypeTo(pa.get());
|
||||
pmutex = isaStruct(pa.get());
|
||||
|
||||
gIR->mutexType = pmutex;
|
||||
gIR->module->addTypeName("D_CRITICAL_SECTION", pmutex);
|
||||
if (gIR->module != NULL)
|
||||
{
|
||||
gIR->mutexType = pmutex;
|
||||
gIR->module->addTypeName("D_CRITICAL_SECTION", pmutex);
|
||||
}
|
||||
return pmutex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user