Fix prune-top-level-scopes to allow collisions between var, scope, cont names
authorAndy Wingo <wingo@pobox.com>
Wed, 2 Apr 2014 13:40:03 +0000 (15:40 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 2 Apr 2014 13:40:03 +0000 (15:40 +0200)
commitb7dc00b1e73e83beedcb4102e7b9f2ea95097f4e
tree8590a6f2c28b22d3db818d9d11ada018f5f96ee0
parent2896942751daf2f8dfce1dfd1a77d2a9cf325262
Fix prune-top-level-scopes to allow collisions between var, scope, cont names

* module/language/cps/prune-top-level-scopes.scm (compute-referenced-scopes):
  Fix to not assume that scope names, continuation names, and var names
  are mutually unique.
  (prune-top-level-scopes): Better variable names.
module/language/cps/prune-top-level-scopes.scm