1
Fork 0
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:
Andy Wingo 2012-05-21 17:31:58 +02:00
parent 20e2d63804
commit 95e4ab2665

View file

@ -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