Dead code elimination (=DCE) for IC.
Types
AliveContext = object ## A stack for marking symbols as alive. ## We need a PackedDecoder for module ID address translations. ## The module we're currently analysing for DCE. ## The final result of our computation.
- Purpose is to fill the 'alive' field. Source Edit
Procs
proc computeAliveSyms(g: PackedModuleGraph; conf: ConfigRef): AliveSyms {. ...raises: [KeyError, Exception], tags: [ReadDirEffect, RootEffect], forbids: [].}
- Entry point for our DCE algorithm. Source Edit