aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-06-02 08:07:36 +0800
committerPo Lu2023-06-02 08:07:36 +0800
commitc3c2289b29df2b723b9db93d9ea4cd5d04fc89a0 (patch)
treee47cab6041605ad74d330c7ec576fff0f55f58cd
parent0014a10b242bac62b0ba913a5ee4da4cfbe07f41 (diff)
parent9f5ca95ef770fe43aa6700b238361ec76da7f3fa (diff)
downloademacs-c3c2289b29df2b723b9db93d9ea4cd5d04fc89a0.tar.gz
emacs-c3c2289b29df2b723b9db93d9ea4cd5d04fc89a0.zip
Merge remote-tracking branch 'origin/master' into feature/android
-rw-r--r--lisp/emacs-lisp/comp.el34
-rw-r--r--test/infra/Makefile.in2
-rw-r--r--test/infra/gitlab-ci.yml2
-rw-r--r--test/infra/test-jobs.yml4
4 files changed, 18 insertions, 24 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index ec51f805c2b..2ea405728a3 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -317,7 +317,7 @@ Useful to hook into pass checkers.")
317 (buffer-file-name (function (&optional buffer) (or string null))) 317 (buffer-file-name (function (&optional buffer) (or string null)))
318 (buffer-list (function (&optional frame) list)) 318 (buffer-list (function (&optional frame) list))
319 (buffer-local-variables (function (&optional buffer) list)) 319 (buffer-local-variables (function (&optional buffer) list))
320 (buffer-modified-p (function (&optional buffer) boolean)) 320 (buffer-modified-p (function (&optional buffer) (or boolean (member autosaved))))
321 (buffer-size (function (&optional buffer) integer)) 321 (buffer-size (function (&optional buffer) integer))
322 (buffer-string (function () string)) 322 (buffer-string (function () string))
323 (buffer-substring (function ((or integer marker) (or integer marker)) string)) 323 (buffer-substring (function ((or integer marker) (or integer marker)) string))
@@ -344,7 +344,7 @@ Useful to hook into pass checkers.")
344 (concat (function (&rest sequence) string)) 344 (concat (function (&rest sequence) string))
345 (cons (function (t t) cons)) 345 (cons (function (t t) cons))
346 (consp (function (t) boolean)) 346 (consp (function (t) boolean))
347 (coordinates-in-window-p (function (cons window) boolean)) 347 (coordinates-in-window-p (function (cons window) (or cons null (member bottom-divider right-divider mode-line header-line tab-line left-fringe right-fringe vertical-line left-margin right-margin))))
348 (copy-alist (function (list) list)) 348 (copy-alist (function (list) list))
349 (copy-marker (function (&optional (or integer marker) boolean) marker)) 349 (copy-marker (function (&optional (or integer marker) boolean) marker))
350 (copy-sequence (function (sequence) sequence)) 350 (copy-sequence (function (sequence) sequence))
@@ -363,7 +363,7 @@ Useful to hook into pass checkers.")
363 (current-time-zone (function (&optional (or number list) 363 (current-time-zone (function (&optional (or number list)
364 (or symbol string cons integer)) 364 (or symbol string cons integer))
365 cons)) 365 cons))
366 (custom-variable-p (function (symbol) boolean)) 366 (custom-variable-p (function (symbol) t))
367 (decode-char (function (cons t) (or fixnum null))) 367 (decode-char (function (cons t) (or fixnum null)))
368 (decode-time (function (&optional (or number list) 368 (decode-time (function (&optional (or number list)
369 (or symbol string cons integer) 369 (or symbol string cons integer)
@@ -385,18 +385,18 @@ Useful to hook into pass checkers.")
385 (error-message-string (function (list) string)) 385 (error-message-string (function (list) string))
386 (eventp (function (t) boolean)) 386 (eventp (function (t) boolean))
387 (exp (function (number) float)) 387 (exp (function (number) float))
388 (expt (function (number number) float)) 388 (expt (function (number number) number))
389 (fboundp (function (symbol) boolean)) 389 (fboundp (function (symbol) boolean))
390 (fceiling (function (float) float)) 390 (fceiling (function (float) float))
391 (featurep (function (symbol &optional symbol) boolean)) 391 (featurep (function (symbol &optional symbol) boolean))
392 (ffloor (function (float) float)) 392 (ffloor (function (float) float))
393 (file-directory-p (function (string) boolean)) 393 (file-directory-p (function (string) boolean))
394 (file-exists-p (function (string) boolean)) 394 (file-exists-p (function (string) boolean))
395 (file-locked-p (function (string) boolean)) 395 (file-locked-p (function (string) (or boolean string)))
396 (file-name-absolute-p (function (string) boolean)) 396 (file-name-absolute-p (function (string) boolean))
397 (file-newer-than-file-p (function (string string) boolean)) 397 (file-newer-than-file-p (function (string string) boolean))
398 (file-readable-p (function (string) boolean)) 398 (file-readable-p (function (string) boolean))
399 (file-symlink-p (function (string) boolean)) 399 (file-symlink-p (function (string) (or boolean string)))
400 (file-writable-p (function (string) boolean)) 400 (file-writable-p (function (string) boolean))
401 (fixnump (function (t) boolean)) 401 (fixnump (function (t) boolean))
402 (float (function (number) float)) 402 (float (function (number) float))
@@ -411,8 +411,8 @@ Useful to hook into pass checkers.")
411 (frame-first-window (function ((or frame window)) window)) 411 (frame-first-window (function ((or frame window)) window))
412 (frame-root-window (function (&optional (or frame window)) window)) 412 (frame-root-window (function (&optional (or frame window)) window))
413 (frame-selected-window (function (&optional (or frame window)) window)) 413 (frame-selected-window (function (&optional (or frame window)) window))
414 (frame-visible-p (function (frame) boolean)) 414 (frame-visible-p (function (frame) (or boolean (member icon))))
415 (framep (function (t) boolean)) 415 (framep (function (t) (or boolean (member x w32 ns pc pgtk haiku))))
416 (fround (function (float) float)) 416 (fround (function (float) float))
417 (ftruncate (function (float) float)) 417 (ftruncate (function (float) float))
418 (get (function (symbol symbol) t)) 418 (get (function (symbol symbol) t))
@@ -506,7 +506,7 @@ Useful to hook into pass checkers.")
506 (previous-window (function (&optional window t t) window)) 506 (previous-window (function (&optional window t t) window))
507 (prin1-to-string (function (t &optional t t) string)) 507 (prin1-to-string (function (t &optional t t) string))
508 (processp (function (t) boolean)) 508 (processp (function (t) boolean))
509 (proper-list-p (function (t) boolean)) 509 (proper-list-p (function (t) (or fixnum null)))
510 (propertize (function (string &rest t) string)) 510 (propertize (function (string &rest t) string))
511 (radians-to-degrees (function (number) float)) 511 (radians-to-degrees (function (number) float))
512 (rassoc (function (t list) list)) 512 (rassoc (function (t list) list))
@@ -1723,17 +1723,11 @@ Return value is the fall-through block name."
1723 ;; (byte-constant #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (created 126 deleted 126 changed 126)) . 24) 1723 ;; (byte-constant #s(hash-table size 3 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (created 126 deleted 126 changed 126)) . 24)
1724 ;; (byte-switch) 1724 ;; (byte-switch)
1725 ;; (TAG 126 . 10) 1725 ;; (TAG 126 . 10)
1726 (cl-loop 1726 (let ((targets (hash-table-values jmp-table)))
1727 with labels = (cl-loop for target-label being each hash-value of jmp-table 1727 (when (apply #'= targets)
1728 collect target-label) 1728 (pcase (nth (1+ (comp-limplify-pc comp-pass)) (comp-func-lap comp-func))
1729 with x = (car labels) 1729 (`(TAG ,target . ,_label-sp)
1730 for l in (cdr-safe labels) 1730 (= target (car targets)))))))
1731 unless (= l x)
1732 return nil
1733 finally return (pcase (nth (1+ (comp-limplify-pc comp-pass))
1734 (comp-func-lap comp-func))
1735 (`(TAG ,label . ,_label-sp)
1736 (= label l)))))
1737 1731
1738(defun comp-emit-switch (var last-insn) 1732(defun comp-emit-switch (var last-insn)
1739 "Emit a Limple for a lap jump table given VAR and LAST-INSN." 1733 "Emit a Limple for a lap jump table given VAR and LAST-INSN."
diff --git a/test/infra/Makefile.in b/test/infra/Makefile.in
index 7b2c27918a7..057d44f6539 100644
--- a/test/infra/Makefile.in
+++ b/test/infra/Makefile.in
@@ -100,7 +100,7 @@ endef
100 100
101$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir)))) 101$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
102 102
103TREE-SITTER-FILES ?= $(shell cd .. ; find lisp -name "*-ts-*.el" | sort | sed s/\\.el/.log/) 103TREE-SITTER-FILES ?= '"'$(shell cd .. ; find lisp -name "*-ts-*.el" | sort | sed s/\\.el/.log/)'"'
104 104
105all: generate-test-jobs 105all: generate-test-jobs
106 106
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index b5b3e6823c7..213176bef70 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -58,7 +58,7 @@ variables:
58 # across multiple builds. 58 # across multiple builds.
59 BUILD_TAG: ${CI_COMMIT_REF_SLUG} 59 BUILD_TAG: ${CI_COMMIT_REF_SLUG}
60 # Disable if you don't need it, it can be a security risk. 60 # Disable if you don't need it, it can be a security risk.
61 # CI_DEBUG_TRACE: "true" 61 CI_DEBUG_TRACE: "true"
62 62
63default: 63default:
64 image: docker:19.03.12 64 image: docker:19.03.12
diff --git a/test/infra/test-jobs.yml b/test/infra/test-jobs.yml
index 7c26c33f6c6..48c5b726f28 100644
--- a/test/infra/test-jobs.yml
+++ b/test/infra/test-jobs.yml
@@ -571,10 +571,10 @@ test-src-inotify:
571.tree-sitter-files-template: 571.tree-sitter-files-template:
572 variables: 572 variables:
573 tree-sitter-files: >- 573 tree-sitter-files: >-
574 lisp/progmodes/c-ts-mode-tests.log 574 "lisp/progmodes/c-ts-mode-tests.log
575 lisp/progmodes/elixir-ts-mode-tests.log 575 lisp/progmodes/elixir-ts-mode-tests.log
576 lisp/progmodes/go-ts-mode-tests.log 576 lisp/progmodes/go-ts-mode-tests.log
577 lisp/progmodes/heex-ts-mode-tests.log 577 lisp/progmodes/heex-ts-mode-tests.log
578 lisp/progmodes/java-ts-mode-tests.log 578 lisp/progmodes/java-ts-mode-tests.log
579 lisp/progmodes/ruby-ts-mode-tests.log 579 lisp/progmodes/ruby-ts-mode-tests.log
580 lisp/progmodes/typescript-ts-mode-tests.log 580 lisp/progmodes/typescript-ts-mode-tests.log"