mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
ZAM fix for tracking variable usage
This commit is contained in:
parent
6660738b7d
commit
cb4900847d
1 changed files with 0 additions and 1 deletions
|
@ -185,7 +185,6 @@ void IDOptInfo::BranchBackTo(const Stmt* from, const Stmt* to, bool close_all) {
|
||||||
auto& ur = usage_regions[i];
|
auto& ur = usage_regions[i];
|
||||||
|
|
||||||
if ( ur.DefinedAfter() < new_def ) {
|
if ( ur.DefinedAfter() < new_def ) {
|
||||||
ASSERT(ur.DefinedAfter() != NO_DEF);
|
|
||||||
ur.UpdateDefinedAfter(new_def);
|
ur.UpdateDefinedAfter(new_def);
|
||||||
ur.SetDefExpr(nullptr);
|
ur.SetDefExpr(nullptr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue