# HG changeset patch # User Christian Kamm # Date 1231425073 -3600 # Node ID 05c9faedc13c0da5de3ef275d916f7d8a067ad74 # Parent 27a379f288bf14e9da81197631f30347eb845079 Move adding IrSymbols to global list out of assert. diff -r 27a379f288bf -r 05c9faedc13c ir/irsymbol.cpp --- a/ir/irsymbol.cpp Wed Jan 07 19:34:48 2009 +0100 +++ b/ir/irsymbol.cpp Thu Jan 08 15:31:13 2009 +0100 @@ -17,13 +17,15 @@ IrDsymbol::IrDsymbol() { - assert(list.insert(this).second); + bool incr = list.insert(this).second; + assert(incr); reset(); } IrDsymbol::IrDsymbol(const IrDsymbol& s) { - assert(list.insert(this).second); + bool incr = list.insert(this).second; + assert(incr); DModule = s.DModule; irModule = s.irModule; irStruct = s.irStruct;