From d5d6598d75c17572e17ae7f9dea5a1a7cb41f361 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 16 Dec 2020 19:08:10 -0500 Subject: [PATCH] Internals: spacing --- include/verilated.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/include/verilated.cpp b/include/verilated.cpp index 6b9afb92c..bdb184419 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -278,9 +278,7 @@ Verilated::Serialized::Serialized() { s_timeprecision = VL_TIME_PRECISION; // Initial value until overriden by _Vconfigure } -void Verilated::NonSerialized::setup() { - s_profThreadsFilenamep = strdup("profile_threads.dat"); -} +void Verilated::NonSerialized::setup() { s_profThreadsFilenamep = strdup("profile_threads.dat"); } void Verilated::NonSerialized::teardown() { if (s_profThreadsFilenamep) { VL_DO_CLEAR(free(const_cast(s_profThreadsFilenamep)), @@ -2497,12 +2495,8 @@ void Verilated::endOfEvalGuts(VerilatedEvalMsgQueue* evalMsgQp) VL_MT_SAFE { // ctor nor dtor of members are not called automatically. // VerilatedInitializer::setup() and teardown() guarantees to initialize/destruct just once. -void VerilatedImp::setup() { - new (&VerilatedImp::s_s) VerilatedImpData(); -} -void VerilatedImp::teardown() { - VerilatedImp::s_s.~VerilatedImpU(); -} +void VerilatedImp::setup() { new (&VerilatedImp::s_s) VerilatedImpData(); } +void VerilatedImp::teardown() { VerilatedImp::s_s.~VerilatedImpU(); } //=========================================================================== // VerilatedImp:: Methods