aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2019-09-09 12:40:01 +0800
committerSean Cross <sean@xobs.io>2019-09-09 12:40:01 +0800
commit8d128ba6d079fd5f0741c31a9308bf06aaf4673c (patch)
treeac073ba260ffa5be96a5ee2a4904f3b76dc8c0c0 /kernel
parent417f3fe6b19a0ed36cabe526fe3c67214b32971d (diff)
downloadyosys-8d128ba6d079fd5f0741c31a9308bf06aaf4673c.tar.gz
yosys-8d128ba6d079fd5f0741c31a9308bf06aaf4673c.tar.bz2
yosys-8d128ba6d079fd5f0741c31a9308bf06aaf4673c.zip
passes: opt_share: don't statically initialize mergeable_type_map
In 3d3779b0376b8204ed7637053176a07b7271ac1d this got turned from a `std::map<std::string, std::string>` to `std::map<IdString, IdString>`. Consequently, this exposed some initialization sequencing issues (#1361). Only initialize the map when it's first used, to avoid these static issues. This fixes #1361. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions