Changeset 27 for sources/src/sc_object.cc
- Timestamp:
- May 4, 2009, 8:51:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_object.cc
r17 r27 40 40 #include <map> 41 41 42 #include "assert.h"42 #include <cassert> 43 43 #include "sc_object.h" 44 44 //#include "sc_port.h" … … 46 46 #include "sc_signal.h" 47 47 #include "module_hierarchy.h" 48 #ifdef HAVE_CONFIG_H 49 #include "config.h" 50 #endif 48 51 49 52 using namespace std; … … 71 74 // out += "."; 72 75 } 73 // ASSERT(name != NULL);76 // assert(name != NULL); 74 77 if (name) 75 78 out += name; … … 203 206 { 204 207 object2name_t::iterator i = object2fullname.find (this); 205 #ifdef DEBUG208 #ifdef CONFIG_DEBUG 206 209 if (i == object2fullname.end ()) { 207 210 cerr << "Internal error : can't find name of " << this << "\n"; … … 217 220 /* 218 221 object2name_t::iterator i = object2fullname.find (this); 219 #ifdef DEBUG222 #ifdef CONFIG_DEBUG 220 223 if (i == object2fullname.end ()) { 221 224 cerr << "Internal error : can't find name of " << this << "\n"; … … 235 238 string out; 236 239 sc_object* obj = *it; 237 ASSERT(obj != NULL);240 assert(obj != NULL); 238 241 build_full_name (out, *obj); 239 242 } … … 243 246 { 244 247 object2infos_t::iterator i = object2infos.find (this); 245 #ifdef DEBUG248 #ifdef CONFIG_DEBUG 246 249 if (i == object2infos.end ()) { 247 250 cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset
for help on using the changeset viewer.