mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Apply suggestions
This commit is contained in:
parent
e1f049fd24
commit
3c1f4525a4
@ -91,9 +91,10 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
idomIdx = m_immediateDominator[idomIdx];
|
idomIdx = m_immediateDominator[idomIdx];
|
||||||
}
|
}
|
||||||
// Now that we reach the entry node (i.e. idx = 0),
|
// Now that we reach the entry node (i.e. idomIdx = 0),
|
||||||
// either ``aIdx == 0`` or it does not dominates other node.
|
// either ``aIdx == 0`` or it does not dominates the other node.
|
||||||
return idomIdx == aIdx;
|
solAssert(idomIdx == 0, "");
|
||||||
|
return aIdx == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find all dominators of a node _v
|
// Find all dominators of a node _v
|
||||||
|
Loading…
Reference in New Issue
Block a user