mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
* __scm.h, eval.c, eval.h: Removed compile time option
MEMOIZE_LOCALS to clean up the code. Now, caching of local variable positions during memoization is mandatory. However, the option to disable the caching has most probably not been used anyway.
This commit is contained in:
parent
23de7b97e9
commit
c136c9205e
5 changed files with 14 additions and 30 deletions
|
@ -105,13 +105,9 @@ SCM_API SCM scm_eval_options_interface (SCM setting);
|
|||
? scm_misc_error (NULL, scm_s_expression, SCM_EOL), 0 \
|
||||
: 0), \
|
||||
(x))
|
||||
#ifdef MEMOIZE_LOCALS
|
||||
#define SCM_EVALIM(x, env) (SCM_ILOCP (x) \
|
||||
? *scm_ilookup ((x), env) \
|
||||
: SCM_EVALIM2(x))
|
||||
#else
|
||||
#define SCM_EVALIM(x, env) SCM_EVALIM2(x)
|
||||
#endif
|
||||
#ifdef DEBUG_EXTENSIONS
|
||||
#define SCM_XEVAL(x, env) (SCM_IMP (x) \
|
||||
? SCM_EVALIM2(x) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue