diff options
author | Andy Wingo <wingo@pobox.com> | 2012-05-21 17:31:58 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-05-21 17:42:48 +0200 |
commit | 95e4ab26653ef76d78f7e5d4efae4dfca366b409 (patch) | |
tree | 615d4327fee7a45ce527c0501262ca502557e3e8 | |
parent | 20e2d6380426088c21d0c7bd8211f2bee780a26c (diff) | |
download | guile-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.c | 3 |
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 |