Fix assertion in error recovery.
(cherry picked from commit 4f48a7ed41)
This commit is contained in:
parent
c5e65b5cc8
commit
c2bd35d277
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