Internals: Create dtypeFrom. Merge from dtype. No functional change.

This commit is contained in:
Wilson Snyder
2012-04-29 09:42:17 -04:00
parent a4ddc5b3ac
commit c0da16bfcd
8 changed files with 56 additions and 54 deletions
+1 -1
View File
@@ -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;
}