ZAM support for lambdas

This commit is contained in:
Vern Paxson 2023-06-16 16:08:54 -07:00 committed by Arne Welzel
parent 0a40aec4a6
commit 7d5760ac74
11 changed files with 272 additions and 37 deletions

View file

@ -51,7 +51,7 @@ class Reducer;
class UseDefs
{
public:
UseDefs(StmtPtr body, std::shared_ptr<Reducer> rc);
UseDefs(StmtPtr body, std::shared_ptr<Reducer> rc, FuncTypePtr ft);
// Does a full pass over the function body's AST. We can wind
// up doing this multiple times because when we use use-defs to
@ -173,6 +173,7 @@ private:
StmtPtr body;
std::shared_ptr<Reducer> rc;
FuncTypePtr ft;
};
} // zeek::detail