Fix assertion in error recovery.
This commit is contained in:
parent
ed75bc22ec
commit
4f48a7ed41
5
PExpr.cc
5
PExpr.cc
|
|
@ -126,9 +126,8 @@ PEBinary::~PEBinary()
|
|||
|
||||
void PEBinary::declare_implicit_nets(LexicalScope*scope, NetNet::Type type)
|
||||
{
|
||||
assert(left_ && right_);
|
||||
left_->declare_implicit_nets(scope, type);
|
||||
right_->declare_implicit_nets(scope, type);
|
||||
if (left_) left_->declare_implicit_nets(scope, type);
|
||||
if (right_) right_->declare_implicit_nets(scope, type);
|
||||
}
|
||||
|
||||
bool PEBinary::has_aa_term(Design*des, NetScope*scope) const
|
||||
|
|
|
|||
Loading…
Reference in New Issue