projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8cecf
)
kernel: separate IdString::put_reference() out to help inlining
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 12 Mar 2020 21:42:07 +0000
(14:42 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 2 Apr 2020 14:14:08 +0000
(07:14 -0700)
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index 1283db1344340dc0bac119ed59c0d1209fbd61e5..f6ba9a66374d6c0fb6fbba59af3fb841ed5556e4 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-235,7
+235,10
@@
namespace RTLIL
return;
log_assert(refcount == 0);
-
+ free_reference(idx);
+ }
+ static inline void free_reference(int idx)
+ {
if (yosys_xtrace) {
log("#X# Removed IdString '%s' with index %d.\n", global_id_storage_.at(idx), idx);
log_backtrace("-X- ", yosys_xtrace-1);