mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 14:21:10 +02:00
vm.c: remove a useless check
* libguile/vm.c: Remove a check for modules being booted. If the module passed in is true, that is guaranteed to have been the case. Passes a fresh bootstrap.
This commit is contained in:
parent
20e2d63804
commit
95e4ab2665
1 changed files with 1 additions and 2 deletions
|
@ -610,8 +610,7 @@ resolve_variable (SCM what, SCM program_module)
|
|||
{
|
||||
if (SCM_LIKELY (scm_is_symbol (what)))
|
||||
{
|
||||
if (SCM_LIKELY (scm_module_system_booted_p
|
||||
&& scm_is_true (program_module)))
|
||||
if (SCM_LIKELY (scm_is_true (program_module)))
|
||||
/* might longjmp */
|
||||
return scm_module_lookup (program_module, what);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue