Changes in sources/src/sc_object.cc [27:17]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_object.cc
r27 r17 40 40 #include <map> 41 41 42 #include <cassert>42 #include "assert.h" 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_H49 #include "config.h"50 #endif51 48 52 49 using namespace std; … … 74 71 // out += "."; 75 72 } 76 // assert(name != NULL);73 // ASSERT(name != NULL); 77 74 if (name) 78 75 out += name; … … 206 203 { 207 204 object2name_t::iterator i = object2fullname.find (this); 208 #ifdef CONFIG_DEBUG205 #ifdef DEBUG 209 206 if (i == object2fullname.end ()) { 210 207 cerr << "Internal error : can't find name of " << this << "\n"; … … 220 217 /* 221 218 object2name_t::iterator i = object2fullname.find (this); 222 #ifdef CONFIG_DEBUG219 #ifdef DEBUG 223 220 if (i == object2fullname.end ()) { 224 221 cerr << "Internal error : can't find name of " << this << "\n"; … … 238 235 string out; 239 236 sc_object* obj = *it; 240 assert(obj != NULL);237 ASSERT(obj != NULL); 241 238 build_full_name (out, *obj); 242 239 } … … 246 243 { 247 244 object2infos_t::iterator i = object2infos.find (this); 248 #ifdef CONFIG_DEBUG245 #ifdef DEBUG 249 246 if (i == object2infos.end ()) { 250 247 cerr << "Internal error : can't find kind of " << this << "\n";
Note: See TracChangeset
for help on using the changeset viewer.