Internals: Fix misc internal coverage holes. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-06-04 19:49:39 -04:00
parent b88e1e6970
commit a433096d5a
7 changed files with 22 additions and 15 deletions
-4
View File
@@ -36,10 +36,6 @@ AstNetlist* V3Global::makeNetlist() {
void V3Global::checkTree() { rootp()->checkTree(); }
void V3Global::clear() {
if (m_rootp) VL_DO_CLEAR(m_rootp->deleteTree(), m_rootp = NULL);
}
void V3Global::readFiles() {
// NODE STATE
// AstNode::user4p() // VSymEnt* Package and typedef symbol names
-1
View File
@@ -105,7 +105,6 @@ public:
UASSERT(!m_rootp, "call once");
m_rootp = makeNetlist();
}
void clear();
// ACCESSORS (general)
AstNetlist* rootp() const { return m_rootp; }
VWidthMinUsage widthMinUsage() const { return m_widthMinUsage; }
+1 -1
View File
@@ -192,7 +192,7 @@ private:
: new AstConst(rhsp->fileline(), AstConst::LogicFalse());
}
}
rhsp->v3fatal("Don't know how to fold expression");
rhsp->v3fatalSrc("Don't know how to fold expression");
}
void mergeEnd() {
-2
View File
@@ -240,8 +240,6 @@ void V3Os::unlinkRegexp(const string& dir, const string& regexp) {
}
}
std::string V3Os::getcwd() { return filenameRealPath("."); }
//######################################################################
// METHODS (random)
-1
View File
@@ -53,7 +53,6 @@ public:
// METHODS (directory utilities)
static void createDir(const string& dirname);
static void unlinkRegexp(const string& dir, const string& regexp);
static std::string getcwd(); // Return the current working directory
// METHODS (random)
static vluint64_t rand64(vluint64_t* statep);