forked from github/verilator
Fix expand optimization slowing --lint-only. Closes #2091.
This commit is contained in:
parent
525c79bd0a
commit
aac02c1ed1
2
Changes
2
Changes
@ -34,6 +34,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
||||
|
||||
**** Fix tracing -1 index arrays. Closes #2090. [Yutetsu Takatsukasa]
|
||||
|
||||
**** Fix expand optimization slowing --lint-only. Closes #2091. [Thomas Watts]
|
||||
|
||||
|
||||
* Verilator 4.024 2019-12-08
|
||||
|
||||
|
@ -470,7 +470,8 @@ void process() {
|
||||
}
|
||||
|
||||
// Expand macros and wide operators into C++ primitives
|
||||
if (!v3Global.opt.xmlOnly()
|
||||
if (!v3Global.opt.lintOnly()
|
||||
&& !v3Global.opt.xmlOnly()
|
||||
&& v3Global.opt.oExpand()) {
|
||||
V3Expand::expandAll(v3Global.rootp());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user