Trivial optimizer cleanup.

This commit is contained in:
Stephen Williams 2012-01-07 10:23:07 -08:00
parent e485ac9981
commit 498bfcd24b
2 changed files with 2 additions and 1 deletions

View File

@ -278,7 +278,7 @@ bool Nexus::assign_lval() const
if (net == 0)
continue;
if (net->peek_lref())
if (net->peek_lref() > 0)
return true;
}

View File

@ -20,6 +20,7 @@ debug:elaborate
debug:elab_pexpr
debug:scopes
debug:synth2
debug:optimizer
out:a.out
ivlpp:./ivlpp/ivlpp -D__ICARUS__ -L -Pfoo.pp
sys_func:scripts/devel-stub.sft