DenialAdams / roland

Roland programming language
https://www.brick.codes/roland
Apache License 2.0
48 stars 0 forks source link

DCE should remove global variables #84

Closed DenialAdams closed 1 year ago

DenialAdams commented 1 year ago

Need to adjust main loop to be

-> go over procedures, marking reachable variables -> go over reachable variables, marking procedures

loop ad infinitum. alternative, worklist should be enum type of procedure and var

DenialAdams commented 1 year ago

Implemented in ad4d51f57e8bd325a912f6216b01c583f2e61dd4