Mercurial > projects > ldc
diff ir/irsymbol.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 | c44e6a711885 |
line wrap: on
line diff
--- a/ir/irsymbol.cpp Tue May 06 07:56:03 2008 +0200 +++ b/ir/irsymbol.cpp Tue May 06 18:36:46 2008 +0200 @@ -14,13 +14,13 @@ IrDsymbol::IrDsymbol() { - list.insert(this); + assert(list.insert(this).second); reset(); } IrDsymbol::IrDsymbol(const IrDsymbol& s) { - list.insert(this); + assert(list.insert(this).second); DModule = s.DModule; irModule = s.irModule; irStruct = s.irStruct;