Internals: Rename some non-nodes to avoid Ast prefix. No functional change.

This commit is contained in:
Wilson Snyder
2022-01-02 10:37:20 -05:00
parent 340efe3a3a
commit b7ad1e6d61
16 changed files with 72 additions and 74 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ private:
void insertCast(AstNode* nodep, int needsize) { // We'll insert ABOVE passed node
UINFO(4, " NeedCast " << nodep << endl);
AstNRelinker relinkHandle;
VNRelinker relinkHandle;
nodep->unlinkFrBack(&relinkHandle);
//
AstCCast* const castp
@@ -102,7 +102,7 @@ private:
void ensureNullChecked(AstNode* nodep) {
// TODO optimize to track null checked values and avoid where possible
if (!VN_IS(nodep->backp(), NullCheck)) {
AstNRelinker relinkHandle;
VNRelinker relinkHandle;
nodep->unlinkFrBack(&relinkHandle);
AstNode* const newp = new AstNullCheck{nodep->fileline(), nodep};
relinkHandle.relink(newp);