mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Fix clang error on last commit
This commit is contained in:
parent
36c824d973
commit
72b4a74245
@ -642,10 +642,11 @@ class EmitCModel final : public EmitCFunc {
|
|||||||
emitDestructorImplementation();
|
emitDestructorImplementation();
|
||||||
emitStandardMethods1(modp);
|
emitStandardMethods1(modp);
|
||||||
emitStandardMethods2(modp);
|
emitStandardMethods2(modp);
|
||||||
if (v3Global.opt.trace())
|
if (v3Global.opt.trace()) {
|
||||||
emitTraceMethods(modp);
|
emitTraceMethods(modp);
|
||||||
else
|
} else if (!v3Global.opt.systemC()) {
|
||||||
emitTraceOffMethods(modp);
|
emitTraceOffMethods(modp);
|
||||||
|
}
|
||||||
if (v3Global.opt.savable()) emitSerializationFunctions();
|
if (v3Global.opt.savable()) emitSerializationFunctions();
|
||||||
|
|
||||||
VL_DO_CLEAR(delete m_ofp, m_ofp = nullptr);
|
VL_DO_CLEAR(delete m_ofp, m_ofp = nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user