mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 09:40:25 +02:00
Moved scm_memoize_method back to eval.c.
This commit is contained in:
parent
61364ba686
commit
0824bbb3f5
1 changed files with 1 additions and 3 deletions
|
@ -299,7 +299,7 @@ scm_mcache_lookup_cmethod (SCM cache, SCM args)
|
||||||
}
|
}
|
||||||
while (--j && SCM_NIMP (ls));
|
while (--j && SCM_NIMP (ls));
|
||||||
/* Fewer arguments than specifiers => CAR != ENV */
|
/* 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;
|
goto next_method;
|
||||||
return z;
|
return z;
|
||||||
next_method:
|
next_method:
|
||||||
|
@ -308,8 +308,6 @@ scm_mcache_lookup_cmethod (SCM cache, SCM args)
|
||||||
return SCM_BOOL_F;
|
return SCM_BOOL_F;
|
||||||
}
|
}
|
||||||
|
|
||||||
SCM (*scm_memoize_method) (SCM, SCM);
|
|
||||||
|
|
||||||
SCM
|
SCM
|
||||||
scm_mcache_compute_cmethod (SCM cache, SCM args)
|
scm_mcache_compute_cmethod (SCM cache, SCM args)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue