aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-12 15:19:41 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-12 15:19:41 -0800
commitf9aae90e7a9d238f5063d980e2b1e85a94cff4c7 (patch)
tree90cdb2422cf1194b6ab72997a82c54e5e0b4818c /kernel/yosys.cc
parentf24de88f385a3eeaadd9b9c8c200a7c338f37448 (diff)
parent295e241c074ae275e832fdde9fae6fd897170ac8 (diff)
downloadyosys-f9aae90e7a9d238f5063d980e2b1e85a94cff4c7.tar.gz
yosys-f9aae90e7a9d238f5063d980e2b1e85a94cff4c7.tar.bz2
yosys-f9aae90e7a9d238f5063d980e2b1e85a94cff4c7.zip
Merge remote-tracking branch 'origin/eddie/abc9_refactor' into eddie/abc9_required
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index 5018a4888..8190d8902 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -544,6 +544,8 @@ void yosys_shutdown()
already_shutdown = true;
log_pop();
+ Pass::done_register();
+
delete yosys_design;
yosys_design = NULL;
@@ -553,7 +555,6 @@ void yosys_shutdown()
log_errfile = NULL;
log_files.clear();
- Pass::done_register();
yosys_celltypes.clear();
#ifdef YOSYS_ENABLE_TCL