initial elements of switching over CSE validity to full assessment of side effects

This commit is contained in:
Vern Paxson 2023-11-28 15:01:52 -08:00
parent 8a18d5f8a2
commit eab33725f8
5 changed files with 186 additions and 28 deletions

View file

@ -350,8 +350,11 @@ protected:
// Returns true if the assignment given by 'e' modifies an aggregate
// with the same type as that of one of the identifiers we're tracking.
// ###
bool CheckAggrMod(const Expr* e) const;
bool CheckTableRef(const Expr* e) const;
// Profile across all script functions.
ProfileFuncs& pfs;