mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Add const. No functional change.
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ private:
|
||||
virtual void visit(AstNodeAssign* nodep) override {
|
||||
startStatement(nodep);
|
||||
{
|
||||
bool noopt = PremitAssignVisitor(nodep).noOpt();
|
||||
const bool noopt = PremitAssignVisitor(nodep).noOpt();
|
||||
if (noopt && !nodep->user1()) {
|
||||
nodep->user1(true);
|
||||
// Need to do this even if not wide, as e.g. a select may be on a wide operator
|
||||
|
||||
Reference in New Issue
Block a user