forked from github/verilator
Fix type parameters with low optimization, bug1101.
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
parent
f74ef650ac
commit
3edba7b662
2
Changes
2
Changes
@ -9,6 +9,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
|||||||
|
|
||||||
**** Fix error on bad interface name, bug1097. [Todd Strader]
|
**** Fix error on bad interface name, bug1097. [Todd Strader]
|
||||||
|
|
||||||
|
**** Fix type parameters with low optimization, bug1101. [Stefan Wallentowitz]
|
||||||
|
|
||||||
|
|
||||||
* Verilator 3.888 2016-10-14
|
* Verilator 3.888 2016-10-14
|
||||||
|
|
||||||
|
@ -128,6 +128,10 @@ private:
|
|||||||
varp->user4(usedLetter[static_cast<int>(ch)]*256 + ch);
|
varp->user4(usedLetter[static_cast<int>(ch)]*256 + ch);
|
||||||
usedLetter[static_cast<int>(ch)]++;
|
usedLetter[static_cast<int>(ch)]++;
|
||||||
}
|
}
|
||||||
|
} else if (AstParamTypeDType* typep = stmtp->castParamTypeDType()) {
|
||||||
|
char ch = 'T';
|
||||||
|
typep->user4(usedLetter[static_cast<int>(ch)]*256 + ch);
|
||||||
|
usedLetter[static_cast<int>(ch)]++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user