Support assignment expressions.

This commit is contained in:
Wilson Snyder
2022-11-19 15:23:37 -05:00
parent 21d80cdfa1
commit aacb38b776
15 changed files with 201 additions and 52 deletions
+1 -1
View File
@@ -156,9 +156,9 @@ class SliceVisitor final : public VNVisitor {
// This will potentially call this function again to resolve next level of slicing
return;
}
VL_RESTORER(m_assignp);
m_assignp = nodep;
iterateChildren(nodep);
m_assignp = nullptr;
}
}