Misc internal coverage hole and related bug fixes

This commit is contained in:
Wilson Snyder
2020-12-09 19:18:12 -05:00
parent 5e7b0d526d
commit 7d05be802d
19 changed files with 281 additions and 96 deletions
+1 -4
View File
@@ -184,7 +184,7 @@ inline std::ostream& operator<<(std::ostream& lhs, const OrderMoveDomScope& rhs)
// Order information stored under each AstNode::user1p()...
// Types of vertex we can create
enum WhichVertex : uint8_t { WV_STD, WV_PRE, WV_PORD, WV_POST, WV_SETL, WV_MAX };
enum WhichVertex : uint8_t { WV_STD, WV_PRE, WV_PORD, WV_POST, WV_MAX };
class OrderUser final {
// Stored in AstVarScope::user1p, a list of all the various vertices
@@ -205,7 +205,6 @@ public:
case WV_PRE: vertexp = new OrderVarPreVertex(graphp, scopep, varscp); break;
case WV_PORD: vertexp = new OrderVarPordVertex(graphp, scopep, varscp); break;
case WV_POST: vertexp = new OrderVarPostVertex(graphp, scopep, varscp); break;
case WV_SETL: vertexp = new OrderVarSettleVertex(graphp, scopep, varscp); break;
default: varscp->v3fatalSrc("Bad case");
}
m_vertexp[type] = vertexp;
@@ -1569,8 +1568,6 @@ void OrderVisitor::processEdgeReport() {
name += " {POST}";
} else if (dynamic_cast<OrderVarPordVertex*>(itp)) {
name += " {PORD}";
} else if (dynamic_cast<OrderVarSettleVertex*>(itp)) {
name += " {STL}";
}
std::ostringstream os;
os.setf(std::ios::left);