ZAM fixes for record creation and table indexing potentially having side-effects

This commit is contained in:
Vern Paxson 2023-09-27 11:38:21 -07:00
parent 3addda28d3
commit 8f92e0d39b
4 changed files with 66 additions and 10 deletions

View file

@ -332,6 +332,10 @@ protected:
// renders the CSE unsafe.
const std::vector<const ID*>& ids;
// Whether the list of identifiers includes some that we should
// consider potentially altered by a function call.
bool sensitive_to_calls = false;
// Where in the AST to start our analysis. This is the initial
// assignment expression.
const Expr* start_e;