1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00
emacs/test/lisp/emacs-lisp
Stefan Monnier d79cdcd4ff cconv.el: Fix regression in cconv-tests-interactive-closure-bug51695
The new code to make interpreted closures safe-for-space introduced
a regression in `cconv-tests-interactive-closure-bug51695`, only seen
when using TEST_LOAD_EL.
A few other issues were found and fixed along the way.

* lisp/emacs-lisp/cconv.el (cconv-fv): Change calling convention and
focus on finding the free variables.
(cconv-make-interpreted-closure): New function.

* lisp/loadup.el: Use `compiled-function-p` rather than
`byte-code-function-p` so we also use safe-for-space interpreted
closures when we build with native compilation.
(internal-make-interpreted-closure-function):
Use `cconv-make-interpreted-closure`.

* src/eval.c (syms_of_eval): Rename `internal-filter-closure-env-function`
to `internal-make-interpreted-closure-function`.
(Ffunction): Let that new var build the actual closure.

* test/lisp/emacs-lisp/cconv-tests.el
(cconv-tests-interactive-closure-bug51695): Test specifically the
interpreted case.
2022-10-28 11:33:24 -04:00
..
bytecomp-resources Don't rewrite set to setq of lexical variables 2022-09-22 14:54:15 +02:00
edebug-resources
eieio-tests
faceup-resources
faceup-tests
macroexp-resources
package-resources package.el: Understand a few more variations in tarball formats 2022-10-08 12:19:40 -04:00
pp-resources Fix pp-emacs-lisp-code printing of cons cells 2022-05-17 19:45:20 +02:00
shadow-resources
testcover-resources
backquote-tests.el
backtrace-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
benchmark-tests.el
bindat-tests.el Bindat (src, strz): Operate on vectors too 2022-10-21 11:26:36 -04:00
bytecomp-tests.el Don't rewrite set to setq of lexical variables 2022-09-22 14:54:15 +02:00
cconv-tests.el cconv.el: Fix regression in cconv-tests-interactive-closure-bug51695 2022-10-28 11:33:24 -04:00
check-declare-tests.el
checkdoc-tests.el
cl-extra-tests.el Audit some plist uses with new predicate argument 2022-10-22 19:33:12 +03:00
cl-generic-tests.el cl-generic: Fix advertised-calling-convention declarations 2022-10-16 12:01:47 -04:00
cl-lib-tests.el cl-symbol-macrolet: Fix recent regression 2022-09-06 00:08:35 -04:00
cl-macs-tests.el Improve check for misleading 'cl-case' cases (Bug#57915). 2022-09-19 13:34:51 +02:00
cl-preloaded-tests.el
cl-print-tests.el
cl-seq-tests.el
comp-cstr-tests.el
comp-tests.el Silence recent comp-tests.el lexvar warnings 2022-10-17 21:02:26 +03:00
copyright-tests.el
derived-tests.el
easy-mmode-tests.el Move buffer-local-set-state to subr because it's used at runtime 2022-05-06 16:09:38 +02:00
edebug-tests.el Don't bind `s' in the normal backtrace map 2022-09-09 19:29:21 +02:00
ert-tests.el
ert-x-tests.el ert-x: New `ert-with-test-buffer-selected' convenience macro 2022-09-11 13:46:30 +02:00
find-func-tests.el Prefer pos-bol and pos-eol in tests 2022-08-21 17:45:04 +02:00
float-sup-tests.el
generator-tests.el
gv-tests.el Audit some plist uses with new predicate argument 2022-10-22 19:33:12 +03:00
hierarchy-tests.el Fix failing test for package Hierarchy 2022-10-28 10:33:18 +03:00
icons-tests.el Add support for user-customizable icons 2022-07-28 14:39:38 +02:00
let-alist-tests.el
lisp-mnt-tests.el
lisp-mode-tests.el Disable a lisp-mode test that now fails 2022-08-23 12:49:13 +02:00
lisp-tests.el
macroexp-tests.el
map-tests.el Audit some plist uses with new predicate argument 2022-10-22 19:33:12 +03:00
memory-report-tests.el
multisession-tests.el
nadvice-tests.el * test/lisp/emacs-lisp/nadvice-tests.el: Re-add no-byte-compile. 2022-08-08 13:47:15 +02:00
oclosure-tests.el (oclosure-test-limits): Fix test failure when interpreted 2022-06-26 13:15:15 -04:00
package-tests.el package.el: Understand a few more variations in tarball formats 2022-10-08 12:19:40 -04:00
pcase-tests.el
pp-tests.el
range-tests.el
regexp-opt-tests.el
ring-tests.el
rmc-tests.el
rx-tests.el
seq-tests.el Add 'seq-keep' 2022-10-04 21:44:52 +02:00
shadow-tests.el
shortdoc-tests.el
subr-x-tests.el Fix off-by-one error in string-truncate-left 2022-07-23 08:58:53 +02:00
syntax-tests.el Remove no-byte-compile cookie from some libraries 2022-08-08 11:50:33 +02:00
tabulated-list-tests.el
testcover-tests.el
text-property-search-tests.el Make two text-property-search tests easier to read 2022-06-29 13:54:51 +02:00
thunk-tests.el
timer-tests.el
unsafep-tests.el
vtable-tests.el
warnings-tests.el