Merge branch 'master' into merge-2.061-2

This commit is contained in:
kai
2013-01-27 00:38:47 +01:00

View File

@@ -1031,9 +1031,9 @@ LLStructType* DtoMutexType()
// pthread_fastlock
LLType *types2[] = {
DtoSize_t(),
LLType::getInt32Ty(gIR->context()
LLType::getInt32Ty(gIR->context())
};
LLStructType* fastlock = LLStructType::get(gIR->context(), types2);
LLStructType* fastlock = LLStructType::get(gIR->context(), types2, false);
// pthread_mutex
LLType *types1[] = {
@@ -1043,7 +1043,7 @@ LLStructType* DtoMutexType()
LLType::getInt32Ty(gIR->context()),
fastlock
};
LLStructType* pmutex = LLStructType::get(gIR->context(), types1);
LLStructType* pmutex = LLStructType::get(gIR->context(), types1, false);
// D_CRITICAL_SECTION
LLStructType* mutex = LLStructType::create(gIR->context(), "D_CRITICAL_SECTION");
@@ -1096,7 +1096,7 @@ LLValue* DtoAggrPair(LLType* type, LLValue* V1, LLValue* V2, const char* name)
LLValue* DtoAggrPair(LLValue* V1, LLValue* V2, const char* name)
{
LLType *types[] = { V1->getType(), V2->getType() };
LLType *t = LLStructType::get(gIR->context(), types);
LLType *t = LLStructType::get(gIR->context(), types, false);
return DtoAggrPair(t, V1, V2, name);
}