compute-live-variables uses CFA analysis
authorAndy Wingo <wingo@pobox.com>
Thu, 9 Jan 2014 09:56:22 +0000 (10:56 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 11 Jan 2014 15:01:10 +0000 (16:01 +0100)
commitf235f926d13ce758cfa4e2633e2a56bc37f18943
tree758f472ac6adaaf38b09343aced3d2f4280ed20d
parent6eb0296027ef60c80c9f52d7717c5782640af5c4
compute-live-variables uses CFA analysis

* module/language/cps/dfg.scm ($dfa): Store a CFA instead of a separate
  k-map and order.
  (dfa-k-idx, dfa-k-sym, dfa-k-count): Adapt.
  (compute-live-variables): Use analyze-control-flow instead of rolling
  out own RPO numbering.  Will allow us to fix some prompt-related
  things in a central place.
module/language/cps/dfg.scm