1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00
emacs/test/src
Andrea Corallo 67c443adc1 Introduce 'unreachable' LIMPLE operator
Introduce 'unreachable' as LIMPLE operater so we can handle correctly
in the CFG functions throwing values or signaling errors.

	* src/comp.c (retrive_block): Better error diagnostic.
	(emit_limple_insn): Add `unreachable'.
	(compile_function): Fix block iteration.
	(syms_of_comp): Define 'Qunreachable'.
	* lisp/emacs-lisp/comp.el (comp-block): New variable.
	(comp-block-lap): Add `non-ret-insn' slot.
	(comp-branch-op-p): New predicate.
	(comp-limple-lock-keywords): Color `unreachable' as red.
	(comp-compute-edges): Add `unreachable'.
	(comp-fwprop-call): Store non returning function call.
	(comp-fwprop*): Update.
	(comp-clean-orphan-blocks, comp-rewrite-non-locals): New functions.
	(comp-fwprop): Call `comp-rewrite-non-locals'.
	* test/src/comp-tests.el (comp-tests-type-spec-tests): Add two
	tests.
	* test/src/comp-test-funcs.el (comp-test-non-local-1)
	(comp-test-non-local-2, comp-test-non-local-3)
	(comp-test-non-local-4): New functions.
2021-01-01 14:04:58 +01:00
..
emacs-module-resources Document and enforce some properties for strings created by modules. 2020-12-12 23:28:22 +01:00
lread-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
regex-resources ; Fix more typos 2020-10-03 12:53:51 +02:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el
buffer-tests.el Inhibit buffer hooks in temporary buffers 2020-12-20 17:32:24 +00:00
callint-tests.el Adapt some tests for Emacs's excitingly variable quoting format 2020-09-12 11:57:42 -07:00
callproc-tests.el
casefiddle-tests.el Fupcase no longer maps ?ß to itself (bug#11309) 2020-12-10 11:02:27 +01:00
charset-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
chartab-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
cmds-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
coding-tests.el Merge from origin/emacs-27 2020-10-02 09:38:24 -07:00
comp-test-funcs-dyn.el ;* test/src/comp-test-funcs-dyn.el: Fix comment header. 2020-07-09 16:23:34 +01:00
comp-test-funcs.el Introduce 'unreachable' LIMPLE operator 2021-01-01 14:04:58 +01:00
comp-test-pure.el Add some tests for pure function optimization 2020-07-09 16:23:31 +01:00
comp-tests.el Introduce 'unreachable' LIMPLE operator 2021-01-01 14:04:58 +01:00
data-tests.el Prefer setq-local in tests 2020-12-08 08:57:22 +01:00
decompress-tests.el
editfns-tests.el Use lexical-binding in more tests 2020-08-29 22:41:51 +02:00
emacs-module-tests.el Document and enforce some properties for strings created by modules. 2020-12-12 23:28:22 +01:00
eval-tests.el Add new variable to selectively suppress backtraces in batch mode. 2020-12-07 11:59:06 +01:00
fileio-tests.el Reject filenames containing NUL bytes. 2020-12-23 12:00:46 +01:00
floatfns-tests.el
fns-tests.el Fix up length_internal with degenerate length inputs 2020-12-27 09:22:02 +01:00
font-tests.el
indent-tests.el Fix 'move-to-column' when invisible text follows a TAB 2020-09-30 17:33:58 +03:00
inotify-tests.el
json-tests.el Fix undefined behavior in json.c (Bug#42113) 2020-06-29 12:32:56 +02:00
keyboard-tests.el Give Lisp control on the lossage size 2020-09-17 16:32:18 +02:00
keymap-tests.el Convert apropos-internal from C to Lisp (Bug#44529) 2020-12-19 19:54:46 +01:00
lcms-tests.el
lread-tests.el Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
marker-tests.el
minibuf-tests.el
print-tests.el Reduce integer-output-format to print-integers-as-characters 2020-11-06 13:55:32 +01:00
process-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
regex-emacs-tests.el Recognise ß properly as a lower-case letter (bug#11309) 2020-12-09 15:29:48 +01:00
syntax-tests.el Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
textprop-tests.el
thread-tests.el
timefns-tests.el ; Fix license statements. 2020-08-27 02:53:25 +02:00
undo-tests.el ; Fix license statement in several files 2020-10-28 03:41:55 +01:00
xdisp-tests.el ; Silence byte-compiler warning in xdisp-tests.el 2020-11-05 15:44:17 +01:00
xfaces-tests.el Minor improvements as followup to recent RGB string-parsing change 2020-06-22 18:32:01 +03:00
xml-tests.el Repurpose libxml test for obsolete argument 2020-09-26 11:48:09 +02:00