tree-il analyzer and inliner handle <prompt>
authorAndy Wingo <wingo@pobox.com>
Sat, 30 Jan 2010 14:49:50 +0000 (15:49 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 31 Jan 2010 19:40:23 +0000 (20:40 +0100)
commit282d128cb4553cd7541bbbd3b0cf6f3b3f223ef7
tree6c44279f285f938aa6edf97fd3c76763d185b353
parent1bf78495e90d65911c9e012764deab589640f883
tree-il analyzer and inliner handle <prompt>

* module/language/tree-il/analyze.scm (analyze-lexicals): Add cases for
  <prompt>, <dynamic-wind>, and <control>. If a continuation is not
  referenced in the body of a prompt handler, mark the prompt as
  escape-only.
* module/language/tree-il/inline.scm (inline!): Inline the handler of a
  prompt if it is a simple lambda.
module/language/tree-il/analyze.scm
module/language/tree-il/inline.scm