1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Minor evaluator tweaks

* libguile/eval.c (eval): Remove unused variable.
* libguile/memoize.c (unmemoize): Fix unmemoization.
* module/ice-9/eval.scm: Attempt to speed up common box-ref cases.
This commit is contained in:
Andy Wingo 2014-12-07 19:03:19 +01:00
parent e6a42e6765
commit 5bfc0653d6
3 changed files with 23 additions and 7 deletions

View file

@ -413,7 +413,7 @@ eval (SCM x, SCM env)
return mx;
else
{
SCM mod, var;
SCM var;
var = scm_sys_resolve_variable (mx, env_tail (env));
scm_set_cdr_x (x, var);