mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
Internals: More const. No functional change intended.
This commit is contained in:
+1
-1
@@ -259,7 +259,7 @@ private:
|
||||
// if (debug() >= 9) { UINFO(0, "\n"); blockp->dumpTree(cout, " labeli: "); }
|
||||
if (!blockp) {
|
||||
nodep->v3error("disable isn't underneath a begin with name: " << nodep->prettyNameQ());
|
||||
} else if (AstBegin* beginp = VN_CAST(blockp, Begin)) {
|
||||
} else if (AstBegin* const beginp = VN_CAST(blockp, Begin)) {
|
||||
// Jump to the end of the named block
|
||||
AstJumpLabel* const labelp = findAddLabel(beginp, false);
|
||||
nodep->addNextHere(new AstJumpGo(nodep->fileline(), labelp));
|
||||
|
||||
Reference in New Issue
Block a user