Skip to content

Commit

Permalink
add a note
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 16, 2024
1 parent cbcacd3 commit 674b203
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vyper/venom/analysis/cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def analyze(self) -> None:
def invalidate(self):
from vyper.venom.analysis import DFGAnalysis, DominatorTreeAnalysis, LivenessAnalysis

Check warning on line 35 in vyper/venom/analysis/cfg.py

View check run for this annotation

Codecov / codecov/patch

vyper/venom/analysis/cfg.py#L35

Added line #L35 was not covered by tests

self.analyses_cache.invalidate_analysis(DFGAnalysis)
self.analyses_cache.invalidate_analysis(DominatorTreeAnalysis)
self.analyses_cache.invalidate_analysis(LivenessAnalysis)

# be conservative - assume cfg invalidation invalidates dfg
self.analyses_cache.invalidate_analysis(DFGAnalysis)

Check warning on line 41 in vyper/venom/analysis/cfg.py

View check run for this annotation

Codecov / codecov/patch

vyper/venom/analysis/cfg.py#L41

Added line #L41 was not covered by tests

0 comments on commit 674b203

Please sign in to comment.