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