Fix internal error on xrefs into unrolled functions, bug1387.

This commit is contained in:
Wilson Snyder
2019-01-06 17:38:27 -05:00
parent aaf5b7c2c0
commit 62a7d713a7
15 changed files with 96 additions and 15 deletions
+5 -1
View File
@@ -107,7 +107,11 @@ private:
m_depth--;
}
virtual void visit(AstNodeStmt* nodep) {
visitStmt(nodep);
if (!nodep->isStatement()) {
iterateChildren(nodep);
} else {
visitStmt(nodep);
}
}
virtual void visit(AstNodeMath* nodep) {} // Accelerate