MV truncation in the boot evaluator
authorAndy Wingo <wingo@pobox.com>
Fri, 29 Apr 2011 09:10:38 +0000 (11:10 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 29 Apr 2011 09:14:54 +0000 (11:14 +0200)
commitf3a9a51d3ea545042f8e62b42a48afadb4839ee9
treedbe0adeea760ffd0563a39357613b7314b16f05f
parent501cf7d6074eab3330555c1d57284fbd34e286d8
MV truncation in the boot evaluator

* libguile/eval.c (truncate_values): New helper.
  (EVAL1): New macro, does an eval then truncates the values.
  (eval, prepare_boot_closure_env_for_apply)
  (prepare_boot_closure_env_for_eval): Use EVAL1 in appropriate places
  to get multiple-values truncation even here in the boot evaluator.

eval.c fixen
libguile/eval.c