Updated to 2.050

This commit is contained in:
Alexey Prokhin
2010-11-08 16:55:35 +03:00
parent d8e1d1feac
commit 6d22dd7999
25 changed files with 447 additions and 201 deletions

View File

@@ -149,7 +149,8 @@ LLConstant * IrStruct::createStructDefaultInitializer()
assert(type->ty == Tstruct && "cannot build struct default initializer for non struct type");
IrTypeStruct* ts = type->irtype->isStruct();
DtoType(type);
IrTypeStruct* ts = stripModifiers(type)->irtype->isStruct();
assert(ts);
// start at offset zero