mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Misc refactoring from dcache branch. No functional change.
This commit is contained in:
+2
-2
@@ -134,7 +134,7 @@ private:
|
||||
// Need to do even if !m_counting because maybe determining upstream if/else
|
||||
double ifInstrs = 0.0;
|
||||
double elseInstrs = 0.0;
|
||||
if (nodep->branchPred() != VBranchPred::BP_UNLIKELY) { // Check if
|
||||
if (!nodep->branchPred().unlikely()) { // Check if
|
||||
VL_RESTORER(m_instrs);
|
||||
VL_RESTORER(m_counting);
|
||||
{
|
||||
@@ -144,7 +144,7 @@ private:
|
||||
ifInstrs = m_instrs;
|
||||
}
|
||||
}
|
||||
if (nodep->branchPred() != VBranchPred::BP_LIKELY) { // Check else
|
||||
if (!nodep->branchPred().likely()) { // Check else
|
||||
VL_RESTORER(m_instrs);
|
||||
VL_RESTORER(m_counting);
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user