File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -246,15 +246,14 @@ struct IdStringCollector {
246246int64_t RTLIL::OwningIdString::gc_ns;
247247int RTLIL::OwningIdString::gc_count;
248248
249- void RTLIL::OwningIdString::collect_garbage (bool trace )
249+ void RTLIL::OwningIdString::collect_garbage ()
250250{
251251 int64_t start = PerformanceTimer::query ();
252252#ifndef YOSYS_NO_IDS_REFCNT
253253 IdStringCollector collector;
254- if (trace)
255- for (auto &[idx, design] : *RTLIL::Design::get_all_designs ()) {
256- collector.trace (*design);
257- }
254+ for (auto &[idx, design] : *RTLIL::Design::get_all_designs ()) {
255+ collector.trace (*design);
256+ }
258257 int size = GetSize (global_id_storage_);
259258 for (int i = static_cast <int >(StaticId::STATIC_ID_END); i < size; ++i) {
260259 RTLIL::IdString::Storage &storage = global_id_storage_.at (i);
Original file line number Diff line number Diff line change @@ -574,7 +574,7 @@ struct RTLIL::OwningIdString : public RTLIL::IdString {
574574 }
575575
576576 // Collect all non-owning references.
577- static void collect_garbage (bool trace = true );
577+ static void collect_garbage ();
578578 static int64_t garbage_collection_ns () { return gc_ns; }
579579 static int garbage_collection_count () { return gc_count; }
580580
You can’t perform that action at this time.
0 commit comments