summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-05-21 17:31:58 +0200
committerAndy Wingo <wingo@pobox.com>2012-05-21 17:42:48 +0200
commit95e4ab26653ef76d78f7e5d4efae4dfca366b409 (patch)
tree615d4327fee7a45ce527c0501262ca502557e3e8
parent20e2d6380426088c21d0c7bd8211f2bee780a26c (diff)
downloadguile-95e4ab26653ef76d78f7e5d4efae4dfca366b409.tar.gz
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.
-rw-r--r--libguile/vm.c3
1 files changed, 1 insertions, 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