Refactor DCE to not build a CFA
authorAndy Wingo <wingo@pobox.com>
Tue, 1 Apr 2014 14:43:55 +0000 (16:43 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 1 Apr 2014 14:43:55 +0000 (16:43 +0200)
commit3269e1b647edcb248ca233c293975456c0d6ad28
tree6a8c9210ec40edb0efcf4c619f2b9f26ad05ef19
parentc79c02d694a26d0fc3df953d4b0b0a60fde81337
Refactor DCE to not build a CFA

* module/language/cps/effects-analysis.scm (compute-effects): Change to
  analyze the effects for a subrange of a DFG's continuations.

* module/language/cps/dce.scm (compute-defs, $fun-data, compute-live-code):
  (process-eliminations, eliminate-dead-code): Renumber before
  eliminating dead code, to avoid computing a CFG and other data.
module/language/cps/dce.scm
module/language/cps/effects-analysis.scm