Fixed release build
authorClifford Wolf <clifford@clifford.at>
Wed, 23 Jul 2014 19:38:18 +0000 (21:38 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 23 Jul 2014 19:38:18 +0000 (21:38 +0200)
kernel/rtlil.cc

index d2f37cec40b827c468f1931657b6da336746f87a..7d630b352fef0c337e1bd12fa4beb8af7203a72e 100644 (file)
@@ -1291,8 +1291,10 @@ RTLIL::Memory::Memory()
 
 void RTLIL::Cell::check()
 {
+#ifndef NDEBUG
        InternalCellChecker checker(NULL, this);
        checker.check();
+#endif
 }
 
 RTLIL::SigChunk::SigChunk()