diff options
| author | Glenn Morris | 2021-04-26 22:18:14 -0700 |
|---|---|---|
| committer | Glenn Morris | 2021-04-26 22:18:14 -0700 |
| commit | 40a1e94f4c0cbe6633bc7ed42b006271c4e4b114 (patch) | |
| tree | f8af9655d14632977331c79a668aa5e147f1ab2a | |
| parent | b3b2cba5ca01747309eec62814b6c268f5a57372 (diff) | |
| download | emacs-40a1e94f4c0cbe6633bc7ed42b006271c4e4b114.tar.gz emacs-40a1e94f4c0cbe6633bc7ed42b006271c4e4b114.zip | |
Doc fixes for comp.el
* lisp/emacs-lisp/comp.el (comp-deferred-compilation-deny-list)
(comp-bootstrap-deny-list, comp-pred-to-cstr, make-comp-mvar)
(comp-mvar-used-p, comp-async-compilation): Doc fixes.
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index f8737a43a92..5b2dbe1ffe2 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -86,14 +86,14 @@ This is intended for debugging the compiler itself. | |||
| 86 | (defcustom comp-deferred-compilation-deny-list | 86 | (defcustom comp-deferred-compilation-deny-list |
| 87 | '() | 87 | '() |
| 88 | "List of regexps to exclude matching files from deferred native compilation. | 88 | "List of regexps to exclude matching files from deferred native compilation. |
| 89 | Files whose names match any regexp is excluded from native compilation." | 89 | Files whose names match any regexp are excluded from native compilation." |
| 90 | :type '(repeat regexp) | 90 | :type '(repeat regexp) |
| 91 | :version "28.1") | 91 | :version "28.1") |
| 92 | 92 | ||
| 93 | (defcustom comp-bootstrap-deny-list | 93 | (defcustom comp-bootstrap-deny-list |
| 94 | '() | 94 | '() |
| 95 | "List of regexps to exclude files from native compilation during bootstrap. | 95 | "List of regexps to exclude files from native compilation during bootstrap. |
| 96 | Files whose names match any regexp is excluded from native compilation | 96 | Files whose names match any regexp are excluded from native compilation |
| 97 | during bootstrap." | 97 | during bootstrap." |
| 98 | :type '(repeat regexp) | 98 | :type '(repeat regexp) |
| 99 | :version "28.1") | 99 | :version "28.1") |
| @@ -603,7 +603,7 @@ Useful to hook into pass checkers.") | |||
| 603 | (when (gethash predicate comp-known-predicates-h) t)) | 603 | (when (gethash predicate comp-known-predicates-h) t)) |
| 604 | 604 | ||
| 605 | (defun comp-pred-to-cstr (predicate) | 605 | (defun comp-pred-to-cstr (predicate) |
| 606 | "Given PREDICATE, return the correspondig constraint." | 606 | "Given PREDICATE, return the corresponding constraint." |
| 607 | (gethash predicate comp-known-predicates-h)) | 607 | (gethash predicate comp-known-predicates-h)) |
| 608 | 608 | ||
| 609 | (defconst comp-symbol-values-optimizable '(most-positive-fixnum | 609 | (defconst comp-symbol-values-optimizable '(most-positive-fixnum |
| @@ -1474,7 +1474,7 @@ STACK-OFF is the index of the first slot frame involved." | |||
| 1474 | collect (comp-slot-n sp)))) | 1474 | collect (comp-slot-n sp)))) |
| 1475 | 1475 | ||
| 1476 | (cl-defun make-comp-mvar (&key slot (constant nil const-vld) type) | 1476 | (cl-defun make-comp-mvar (&key slot (constant nil const-vld) type) |
| 1477 | "`comp-mvar' intitializer." | 1477 | "`comp-mvar' initializer." |
| 1478 | (let ((mvar (make--comp-mvar :slot slot))) | 1478 | (let ((mvar (make--comp-mvar :slot slot))) |
| 1479 | (when const-vld | 1479 | (when const-vld |
| 1480 | (comp-add-const-to-relocs constant) | 1480 | (comp-add-const-to-relocs constant) |
| @@ -2255,7 +2255,7 @@ into the C code forwarding the compilation unit." | |||
| 2255 | 2255 | ||
| 2256 | 2256 | ||
| 2257 | (defsubst comp-mvar-used-p (mvar) | 2257 | (defsubst comp-mvar-used-p (mvar) |
| 2258 | "Non-nil when MVAR is used as lhs in the current funciton." | 2258 | "Non-nil when MVAR is used as lhs in the current function." |
| 2259 | (declare (gv-setter (lambda (val) | 2259 | (declare (gv-setter (lambda (val) |
| 2260 | `(puthash ,mvar ,val comp-pass)))) | 2260 | `(puthash ,mvar ,val comp-pass)))) |
| 2261 | (gethash mvar comp-pass)) | 2261 | (gethash mvar comp-pass)) |
| @@ -3627,7 +3627,7 @@ Prepare every function for final compilation and drive the C back-end." | |||
| 3627 | compile-result)))) | 3627 | compile-result)))) |
| 3628 | 3628 | ||
| 3629 | (defvar comp-async-compilation nil | 3629 | (defvar comp-async-compilation nil |
| 3630 | "Non-nil while executing an asyncronous native compilation.") | 3630 | "Non-nil while executing an asynchronous native compilation.") |
| 3631 | 3631 | ||
| 3632 | (defun comp-final (_) | 3632 | (defun comp-final (_) |
| 3633 | "Final pass driving the C back-end for code emission." | 3633 | "Final pass driving the C back-end for code emission." |