mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
improved AST optimizer's analysis of variable usage in inlined functions
This commit is contained in:
parent
087eb1ca4e
commit
d0eb40ac92
2 changed files with 43 additions and 4 deletions
|
@ -93,9 +93,10 @@ private:
|
|||
|
||||
// Stack of confluence blocks corresponding to activate catch-return
|
||||
// statements. We used to stop identifier definitions at these
|
||||
// boundaries, but given there's no confluence (i.e., the body of the
|
||||
// catch-return *will* execute), we can do broader optimization if we
|
||||
// don't treat them as their own (new) confluence blocks.
|
||||
// boundaries, but given there's limited confluence (i.e., the body of
|
||||
// the catch-return *will* execute, up through its first return), we
|
||||
// can do broader optimization if we don't treat them as their own
|
||||
// (new) confluence blocks.
|
||||
std::vector<zeek_uint_t> cr_active;
|
||||
|
||||
// The following is parallel to confluence_blocks except
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue