mirror of https://github.com/YosysHQ/yosys.git
Remove `IdString::id_string()`.
This was needed for the short time when `ID()` could return a value of `StaticIdString`. That is no longer a problem.
This commit is contained in:
parent
46cb05c471
commit
48cdb499f2
|
|
@ -241,8 +241,6 @@ struct RTLIL::IdString
|
|||
*this = id;
|
||||
}
|
||||
|
||||
constexpr inline IdString id_string() const { return *this; }
|
||||
|
||||
inline const char *c_str() const {
|
||||
if (index_ >= 0)
|
||||
return global_id_storage_.at(index_).buf;
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ struct ExampleDtPass : public Pass
|
|||
auto enqueue = [&](DriveSpec const &spec) {
|
||||
int index = queue(spec);
|
||||
if (index == GetSize(graph_nodes))
|
||||
graph_nodes.emplace_back(compute_graph.add(ID($pending).id_string(), index).index());
|
||||
graph_nodes.emplace_back(compute_graph.add(ID($pending), index).index());
|
||||
//if (index >= GetSize(graph_nodes))
|
||||
return compute_graph[graph_nodes[index]];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue