1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 17:50:29 +02:00

Moved scm_memoize_method back to eval.c.

This commit is contained in:
Mikael Djurfeldt 1999-08-30 02:18:35 +00:00
parent 61364ba686
commit 0824bbb3f5

View file

@ -299,7 +299,7 @@ scm_mcache_lookup_cmethod (SCM cache, SCM args)
}
while (--j && SCM_NIMP (ls));
/* Fewer arguments than specifiers => CAR != ENV */
if (!SCM_CONSP (SCM_CAR (z)))
if (!(SCM_IMP (SCM_CAR (z)) || SCM_CONSP (SCM_CAR (z))))
goto next_method;
return z;
next_method:
@ -308,8 +308,6 @@ scm_mcache_lookup_cmethod (SCM cache, SCM args)
return SCM_BOOL_F;
}
SCM (*scm_memoize_method) (SCM, SCM);
SCM
scm_mcache_compute_cmethod (SCM cache, SCM args)
{