mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Assorted microoptimization speedups in core data structures.
This commit is contained in:
parent
6ba48515b5
commit
a681904237
6 changed files with 118 additions and 194 deletions
|
@ -237,7 +237,7 @@ void log_check_expected();
|
|||
|
||||
const char *log_signal(const RTLIL::SigSpec &sig, bool autoint = true);
|
||||
const char *log_const(const RTLIL::Const &value, bool autoint = true);
|
||||
const char *log_id(RTLIL::IdString id);
|
||||
const char *log_id(const RTLIL::IdString &id);
|
||||
|
||||
template<typename T> static inline const char *log_id(T *obj, const char *nullstr = nullptr) {
|
||||
if (nullstr && obj == nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue