Add prompt analysis to the DFG's analyze-control-flow
authorAndy Wingo <wingo@pobox.com>
Thu, 9 Jan 2014 15:18:16 +0000 (16:18 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 11 Jan 2014 15:01:11 +0000 (16:01 +0100)
commit9002277d0f41bab8bb8197048ea86986aa343d07
tree93ad4e31edf3f009399abb46ad895dd7f9feb25c
parentf235f926d13ce758cfa4e2633e2a56bc37f18943
Add prompt analysis to the DFG's analyze-control-flow

* module/language/cps/dfg.scm (compute-reachable, find-prompts)
  (compute-interval, find-prompt-bodies, visit-prompt-control-flow): New
  helpers.
  (analyze-control-flow): Add a mode that adds on CFA edges
  corresponding to non-local control flow in a prompt.
module/language/cps/dfg.scm