From: Eddie Hung Date: Fri, 21 Jun 2019 19:43:20 +0000 (-0700) Subject: Move comment X-Git-Tag: working-ls180~1237^2~67 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70c93ea0c4ce023d61553df11198aa0b7e518455;p=yosys.git Move comment --- diff --git a/backends/aiger/xaiger.cc b/backends/aiger/xaiger.cc index 48e902666..aa10aa55e 100644 --- a/backends/aiger/xaiger.cc +++ b/backends/aiger/xaiger.cc @@ -86,14 +86,15 @@ struct XAigerWriter int bit2aig(SigBit bit) { - // NB: Cannot use iterator returned from aig_map.insert() - // since this function is called recursively auto it = aig_map.find(bit); if (it != aig_map.end()) { log_assert(it->second >= 0); return it->second; } + // NB: Cannot use iterator returned from aig_map.insert() + // since this function is called recursively + int a = -1; if (not_map.count(bit)) { a = bit2aig(not_map.at(bit)) ^ 1;