mirror of
https://github.com/verilator/verilator.git
synced 2025-01-04 05:37:48 +00:00
Internals: spacing
This commit is contained in:
parent
0abf18f618
commit
d5d6598d75
@ -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<char*>(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
|
||||
|
Loading…
Reference in New Issue
Block a user