comparison 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
comparison
equal deleted inserted replaced
173:db9890b3fb64 174:16e676ae5ab4
11 (*it)->reset(); 11 (*it)->reset();
12 } 12 }
13 13
14 IrType::IrType() 14 IrType::IrType()
15 { 15 {
16 list.insert(this); 16 assert(list.insert(this).second);
17 reset(); 17 reset();
18 } 18 }
19 19
20 IrType::IrType(const IrType& s) 20 IrType::IrType(const IrType& s)
21 { 21 {
22 list.insert(this); 22 assert(list.insert(this).second);
23 type = s.type; 23 type = s.type;
24 vtblType = s.type; 24 vtblType = s.type;
25 } 25 }
26 26
27 IrType::~IrType() 27 IrType::~IrType()