[svn r190] Fixed array concatenation for some broken cases.

Added a sanity check for the Dsymbol state set.
This commit is contained in:
Tomas Lindquist Olsen
2008-05-06 18:36:46 +02:00
parent 0fba6312c2
commit e07b99bc26
3 changed files with 9 additions and 11 deletions

View File

@@ -13,13 +13,13 @@ void IrType::resetAll()
IrType::IrType()
{
list.insert(this);
assert(list.insert(this).second);
reset();
}
IrType::IrType(const IrType& s)
{
list.insert(this);
assert(list.insert(this).second);
type = s.type;
vtblType = s.type;
}