projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b88face
)
Fix double deletion in `passes/hierarchy/hierarchy.cc`.
author
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 30 Mar 2020 16:43:54 +0000
(16:43 +0000)
committer
Alberto Gonzalez
<boqwxp@airmail.cc>
Mon, 30 Mar 2020 16:43:54 +0000
(16:43 +0000)
Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
passes/hierarchy/hierarchy.cc
patch
|
blob
|
history
diff --git
a/passes/hierarchy/hierarchy.cc
b/passes/hierarchy/hierarchy.cc
index 7719f9824c6dac7a6eeb2b454f5e2d97e1b6148b..3f4fe502de9a36ca77ba9205f244563b258c55a6 100644
(file)
--- a/
passes/hierarchy/hierarchy.cc
+++ b/
passes/hierarchy/hierarchy.cc
@@
-492,7
+492,6
@@
void hierarchy_clean(RTLIL::Design *design, RTLIL::Module *top, bool purge_lib)
log("Removing unused module `%s'.\n", mod->name.c_str());
design->remove(mod);
del_counter++;
- delete mod;
}
log("Removed %d unused modules.\n", del_counter);