mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Using log_assert() instead of assert()
This commit is contained in:
parent
d86a25f145
commit
7bd2d1064f
52 changed files with 236 additions and 251 deletions
|
@ -23,7 +23,6 @@
|
|||
#include "libs/subcircuit/subcircuit.h"
|
||||
#include <algorithm>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -100,7 +99,7 @@ namespace
|
|||
RTLIL::Cell *haystackCell = (RTLIL::Cell*) haystackUserData;
|
||||
|
||||
if (!needleCell || !haystackCell) {
|
||||
assert(!needleCell && !haystackCell);
|
||||
log_assert(!needleCell && !haystackCell);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue