Internals: Minor refactoring from class branch.

This commit is contained in:
Wilson Snyder
2020-01-15 20:18:12 -05:00
parent e2ba1c041f
commit 023526ad4b
5 changed files with 19 additions and 9 deletions
+2 -3
View File
@@ -129,15 +129,14 @@ public:
return iter->second;
}
bool ftaskNoInline(AstNodeFTask* nodep) {
return (getFTaskVertex(nodep)->noInline());
return getFTaskVertex(nodep)->noInline();
}
AstCFunc* ftaskCFuncp(AstNodeFTask* nodep) {
return (getFTaskVertex(nodep)->cFuncp());
return getFTaskVertex(nodep)->cFuncp();
}
void ftaskCFuncp(AstNodeFTask* nodep, AstCFunc* cfuncp) {
getFTaskVertex(nodep)->cFuncp(cfuncp);
}
void checkPurity(AstNodeFTask* nodep) {
checkPurity(nodep, getFTaskVertex(nodep));
}