Optimize branches in the evaluator
authorAndy Wingo <wingo@pobox.com>
Thu, 12 Mar 2015 13:26:24 +0000 (14:26 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 12 Mar 2015 13:26:24 +0000 (14:26 +0100)
commit7fee63b947730fbafb073b08bee8eceb6a07c975
tree92120bd7748138563caedef65747ed9a7fd470eb
parentd76d80d23cc001c6582fa5ca40e552815311335a
Optimize branches in the evaluator

* module/ice-9/eval.scm (primitive-eval): Factor out primitive=?
  helper.  Simplify compile-top-call.  Add compile-top-branch for
  primcall branches, so the compiler can see the specialized branch
  operator.
module/ice-9/eval.scm