From 95e4ab26653ef76d78f7e5d4efae4dfca366b409 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 21 May 2012 17:31:58 +0200 Subject: [PATCH] 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. --- libguile/vm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libguile/vm.c b/libguile/vm.c index affec0586..db5e58ca0 100644 --- a/libguile/vm.c +++ b/libguile/vm.c @@ -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