mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
remove void-checking cruft
* module/language/elisp/compile-tree-il.scm: Don't export `compile-without-void-checks', which was removed. Remove unused `disable-void-check' variable. Update comments.
This commit is contained in:
parent
adf8616fab
commit
5d351f0b9b
1 changed files with 2 additions and 8 deletions
|
@ -41,7 +41,6 @@
|
|||
compile-let*
|
||||
compile-lexical-let*
|
||||
compile-flet*
|
||||
compile-without-void-checks
|
||||
compile-with-always-lexical
|
||||
compile-guile-ref
|
||||
compile-guile-primitive
|
||||
|
@ -61,10 +60,6 @@
|
|||
|
||||
(define bindings-data (make-fluid))
|
||||
|
||||
;;; Store for which symbols (or all/none) void checks are disabled.
|
||||
|
||||
(define disable-void-check (make-fluid))
|
||||
|
||||
;;; Store which symbols (or all/none) should always be bound lexically,
|
||||
;;; even with ordinary let and as lambda arguments.
|
||||
|
||||
|
@ -612,8 +607,8 @@
|
|||
(make-const loc expr)))
|
||||
|
||||
;;; Temporarily update a list of symbols that are handled specially
|
||||
;;; (disabled void check or always lexical) for compiling body. We need
|
||||
;;; to handle special cases for already all / set to all and the like.
|
||||
;;; (e.g., always lexical) for compiling body. We need to handle special
|
||||
;;; cases for already all / set to all and the like.
|
||||
|
||||
(define (with-added-symbols loc fluid syms body)
|
||||
(if (null? body)
|
||||
|
@ -939,7 +934,6 @@
|
|||
(define (compile-tree-il expr env opts)
|
||||
(values
|
||||
(with-fluids ((bindings-data (make-bindings))
|
||||
(disable-void-check '())
|
||||
(always-lexical '()))
|
||||
(process-options! opts)
|
||||
(let ((compiled (compile-expr expr)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue