Internals: Convert AstNUser to non-pointer to avoid NULL call. No functional change intended.

This commit is contained in:
Wilson Snyder
2016-11-27 09:40:12 -05:00
parent 7efa40966a
commit 2d0084308d
24 changed files with 187 additions and 164 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ private:
if (!nodep->user1p()) {
nodep->user1p(new LinkCellsVertex(&m_graph, nodep));
}
return (nodep->user1p()->castGraphVertex());
return (nodep->user1u().toGraphVertex());
}
AstNodeModule* findModuleSym(const string& modName) {