summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-23 21:38:18 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-23 21:38:18 +0200
commit95ac484548d4a4550568de09343964150806042d (patch)
treecaa056298d3cd3f58482f9b8b15155703faf6c42
parent375aa71dfe53217ef4dd6273b96f53061b5c8e8c (diff)
Fixed release build
-rw-r--r--kernel/rtlil.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index d2f37cec..7d630b35 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -1291,8 +1291,10 @@ RTLIL::Memory::Memory()
void RTLIL::Cell::check()
{
+#ifndef NDEBUG
InternalCellChecker checker(NULL, this);
checker.check();
+#endif
}
RTLIL::SigChunk::SigChunk()