Merge from master

This commit is contained in:
Wilson Snyder
2018-05-20 09:14:30 -04:00
7 changed files with 18 additions and 15 deletions
+2 -2
View File
@@ -536,7 +536,7 @@ private:
: (domainp->hasSettle() ? "_settle"
: (domainp->isMulti() ? "_multiclk" : "_sequent"))));
name = name+"__"+scopep->nameDotless()+"__"+cvtToStr(funcnum);
if (v3Global.opt.profileCFuncs()) {
if (v3Global.opt.profCFuncs()) {
name += "__PROF__"+forWhatp->fileline()->profileFuncname();
}
return name;
@@ -1513,7 +1513,7 @@ void OrderVisitor::processMoveOne(OrderMoveVertex* vertexp, OrderMoveDomScope* d
}
else { // Normal logic
// Make or borrow a CFunc to contain the new statements
if (v3Global.opt.profileCFuncs()
if (v3Global.opt.profCFuncs()
|| (v3Global.opt.outputSplitCFuncs()
&& v3Global.opt.outputSplitCFuncs() < m_pomNewStmts)) {
// Put every statement into a unique function to ease profiling or reduce function size