mirror of
https://github.com/verilator/verilator.git
synced 2025-01-24 23:34:45 +00:00
Internals: Avoid coredump debugging bug1135.
This commit is contained in:
parent
b12dd526f9
commit
f190d12802
@ -510,6 +510,7 @@ private:
|
||||
// delete it in later optimizations.
|
||||
AstVar* pinOldVarp = pinp->modVarp();
|
||||
AstVar* pinNewVarp = pinOldVarp->clonep();
|
||||
if (!pinNewVarp) pinOldVarp->v3fatalSrc("Cloning failed");
|
||||
|
||||
AstNode* connectRefp = pinp->exprp();
|
||||
if (!connectRefp->castConst() && !connectRefp->castVarRef()) {
|
||||
|
Loading…
Reference in New Issue
Block a user