Tests: Misc fixes from struct branch.

This commit is contained in:
Wilson Snyder
2012-07-28 14:05:30 -04:00
parent 33e6a17747
commit aec019991c
5 changed files with 90 additions and 76 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ private:
// Below 2 lines may change nodep->widthp()
V3Const::constifyParamsEdit(nodep->thsp()); // May relink pointed to node
checkConstantOrReplace(nodep->thsp(), "Width of :+ or :- bit extract isn't a constant");
// Now replace it with a AstSel
// Now replace it with an AstSel
AstNode* basefromp = AstArraySel::baseFromp(nodep->attrp());
int dimension = AstArraySel::dimension(nodep->fromp()); // Not attrp as need hierarchy
AstNode* fromp = nodep->lhsp()->unlinkFrBack();