diff ir/irtype.cpp @ 174:16e676ae5ab4 trunk

[svn r190] Fixed array concatenation for some broken cases. Added a sanity check for the Dsymbol state set.
author lindquist
date Tue, 06 May 2008 18:36:46 +0200
parents db9890b3fb64
children aca17e55b7a5
line wrap: on
line diff
--- a/ir/irtype.cpp	Tue May 06 07:56:03 2008 +0200
+++ b/ir/irtype.cpp	Tue May 06 18:36:46 2008 +0200
@@ -13,13 +13,13 @@
 
 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;
 }