Fix debug build (nw)

This commit is contained in:
Wilbert Pol 2014-06-22 18:38:12 +00:00
parent 2aefef8d6f
commit 6d25e9a3d3

View File

@ -334,7 +334,7 @@ ATTR_COLD void netlist_base_t::log(const char *format, ...) const
ATTR_COLD netlist_core_device_t::netlist_core_device_t(const family_t afamily) ATTR_COLD netlist_core_device_t::netlist_core_device_t(const family_t afamily)
: netlist_object_t(DEVICE, afamily) : netlist_object_t(DEVICE, afamily)
{ {
assert((afamily == GENERIC && family_desc != NULL) || (afamily != GENERIC && family_desc == NULL)); assert((afamily == GENERIC && logic_family() != NULL) || (afamily != GENERIC && logic_family() == NULL));
} }
ATTR_COLD void netlist_core_device_t::init(netlist_base_t &anetlist, const pstring &name) ATTR_COLD void netlist_core_device_t::init(netlist_base_t &anetlist, const pstring &name)