mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Create dtypeFrom. Merge from dtype. No functional change.
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ private:
|
||||
AstNode* newp = new AstSub(rhsp->fileline(),
|
||||
new AstConst(rhsp->fileline(), AstConst::Unsized32(), lhs),
|
||||
rhsp);
|
||||
newp->widthSignedFrom(rhsp); // Important as AstSub default is lhs's sign
|
||||
newp->dtypeFrom(rhsp); // Important as AstSub default is lhs's sign
|
||||
return newp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user