Refactor: Collect global usage in optimizer

Introduce `collect_usage` to gather both local and global variable
usage. This enables dead code elimination for unused global definitions.
This commit is contained in:
Michael Schimmel
2026-02-22 02:07:00 +01:00
parent 7c997ca841
commit e5841976c4
2 changed files with 65 additions and 31 deletions
+1
View File
@@ -1,2 +1,3 @@
/target
Delphi
*.snap.new