Changes in sources/src/sc_module.cc [27:12]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_module.cc
r27 r12 48 48 #include "sc_clock.h" // is_clock 49 49 #include "entity.h" 50 #include <cassert> 51 #ifdef HAVE_CONFIG_H 52 #include "config.h" 53 #endif 50 #include "assert.h" 54 51 55 52 // … … 163 160 sensitivity_list_t::iterator i; 164 161 for (i = sensitivity_list.begin (); i != sensitivity_list.end (); ++i) { 165 #if defined( CONFIG_DEBUG) && 0162 #if defined(_DEBUG) 166 163 if (i->get_interface() == NULL) 167 164 { … … 241 238 sensitive (this) 242 239 { 243 assert(nm != NULL);240 ASSERT(nm != NULL); 244 241 #if 0 245 242 cerr << "sc_module constructor with const char * parameter\n"; … … 501 498 if (m_pushed == false) 502 499 return; 503 assert(sc_core::module_name_stack.empty () == false);500 ASSERT(sc_core::module_name_stack.empty () == false); 504 501 sc_core::module_name_stack.pop_back (); 505 502 modules_stack.pop (); … … 507 504 cout << "~sc_module_name <- " << m_name << endl; 508 505 #endif 509 assert(temp_list.empty () == false);506 ASSERT(temp_list.empty () == false); 510 507 sc_module *last1 = temp_list.back(); 511 508 temp_list.pop_back(); … … 529 526 if (m.dont_initialize == false) 530 527 { 531 assert(m.module != NULL);532 #if def CONFIG_DEBUG528 ASSERT(m.module != NULL); 529 #if DEBUG 533 530 std::cerr << "Warning : SystemCASS doesn't perform SC_METHOD(S) initializations.\n" 534 531 << "Please turn off automatic initialization for '" << m.name
Note: See TracChangeset
for help on using the changeset viewer.