Improve coverage
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
This commit is contained in:
parent
4815ef662c
commit
82fbb446ed
|
|
@ -221,10 +221,7 @@ class AssertPropTransformer final {
|
||||||
UASSERT_OBJ(vtxp->outEdges().size() == 2, nodep, "Each expression must have two branches");
|
UASSERT_OBJ(vtxp->outEdges().size() == 2, nodep, "Each expression must have two branches");
|
||||||
AstBegin* const passsp = new AstBegin{
|
AstBegin* const passsp = new AstBegin{
|
||||||
nodep->fileline(), m_assertCycleDelayNames.get(nodep) + "__block_pass", nullptr, true};
|
nodep->fileline(), m_assertCycleDelayNames.get(nodep) + "__block_pass", nullptr, true};
|
||||||
AstNode* const failsp = [vtxp]() {
|
AstNode* const failsp = vtxp->outEdges().backp()->top()->as<DfaStmtVertex>()->nodep();
|
||||||
V3GraphVertex* const failVtxp = vtxp->outEdges().backp()->top();
|
|
||||||
return failVtxp->as<DfaStmtVertex>()->nodep();
|
|
||||||
}();
|
|
||||||
|
|
||||||
AstSampled* const sampledp
|
AstSampled* const sampledp
|
||||||
= new AstSampled{nodep->fileline(), VN_AS(vtxp->nodep(), NodeExpr)};
|
= new AstSampled{nodep->fileline(), VN_AS(vtxp->nodep(), NodeExpr)};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue