Add 'safety' function declaration
* lisp/emacs-lisp/comp.el (comp-known-predicates): Use 'comp-func-safety'. (comp-ctxt, comp-mvar-type-hint-match-p): New 'safety' slot. (comp-c-func-name): New function. (comp--spill-lap-function, comp--intern-func-in-ctxt): Update. * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Spill safety. * lisp/emacs-lisp/byte-run.el (byte-run--set-completion): New alias. (defun-declarations-alist): Update.
This commit is contained in:
parent
13ddfc2011
commit
9e4e6d0fc9
3 changed files with 19 additions and 0 deletions
|
@ -2449,6 +2449,7 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(when byte-native-compiling
|
||||
(defvar native-comp-speed)
|
||||
(push `(native-comp-speed . ,native-comp-speed) byte-native-qualities)
|
||||
(push `(compilation-safety . ,compilation-safety) byte-native-qualities)
|
||||
(defvar native-comp-debug)
|
||||
(push `(native-comp-debug . ,native-comp-debug) byte-native-qualities)
|
||||
(defvar native-comp-compiler-options)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue