aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/comp-tests.el
diff options
context:
space:
mode:
authorAndrea Corallo2024-04-08 10:46:50 +0200
committerAndrea Corallo2024-04-08 10:52:53 +0200
commit4d486bd378b409c2a96b3e9af36534aa8eb5b3af (patch)
tree37fc26b1bb0fa2b9a981458e11ccffde2cb0a6a8 /test/src/comp-tests.el
parent4efe3b99a5d0d72b6a96bf339601f9390ca5c03a (diff)
downloademacs-4d486bd378b409c2a96b3e9af36534aa8eb5b3af.tar.gz
emacs-4d486bd378b409c2a96b3e9af36534aa8eb5b3af.zip
* Fix out of date comp pass names in comp-tests.el
* test/src/comp-tests.el (comp-tests-tco, comp-tests-fw-prop-1) (comp-tests-pure): Update out of date pass names.
Diffstat (limited to 'test/src/comp-tests.el')
-rw-r--r--test/src/comp-tests.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index b2fd2f68826..5deff03fd84 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -865,8 +865,8 @@ Return a list of results."
865 (let ((native-comp-speed 3) 865 (let ((native-comp-speed 3)
866 ;; Disable ipa-pure otherwise `comp-tests-tco-f' gets 866 ;; Disable ipa-pure otherwise `comp-tests-tco-f' gets
867 ;; optimized-out. 867 ;; optimized-out.
868 (comp-disabled-passes '(comp-ipa-pure)) 868 (comp-disabled-passes '(comp--ipa-pure))
869 (comp-post-pass-hooks '((comp-tco comp-tests-tco-checker) 869 (comp-post-pass-hooks '((comp--tco comp-tests-tco-checker)
870 (comp-final comp-tests-tco-checker)))) 870 (comp-final comp-tests-tco-checker))))
871 (eval '(defun comp-tests-tco-f (a b count) 871 (eval '(defun comp-tests-tco-f (a b count)
872 (if (= count 0) 872 (if (= count 0)
@@ -893,7 +893,7 @@ Return a list of results."
893(comp-deftest fw-prop-1 () 893(comp-deftest fw-prop-1 ()
894 "Some tests for forward propagation." 894 "Some tests for forward propagation."
895 (let ((native-comp-speed 2) 895 (let ((native-comp-speed 2)
896 (comp-post-pass-hooks '((comp-final comp-tests-fw-prop-checker-1)))) 896 (comp-post-pass-hooks '((comp--final comp-tests-fw-prop-checker-1))))
897 (eval '(defun comp-tests-fw-prop-1-f () 897 (eval '(defun comp-tests-fw-prop-1-f ()
898 (let* ((a "xxx") 898 (let* ((a "xxx")
899 (b "yyy") 899 (b "yyy")
@@ -1550,8 +1550,8 @@ folded."
1550(comp-deftest pure () 1550(comp-deftest pure ()
1551 "Some tests for pure functions optimization." 1551 "Some tests for pure functions optimization."
1552 (let ((native-comp-speed 3) 1552 (let ((native-comp-speed 3)
1553 (comp-post-pass-hooks '((comp-final comp-tests-pure-checker-1 1553 (comp-post-pass-hooks '((comp--final comp-tests-pure-checker-1
1554 comp-tests-pure-checker-2)))) 1554 comp-tests-pure-checker-2))))
1555 (load (native-compile (ert-resource-file "comp-test-pure.el"))) 1555 (load (native-compile (ert-resource-file "comp-test-pure.el")))
1556 (declare-function comp-tests-pure-caller-f nil) 1556 (declare-function comp-tests-pure-caller-f nil)
1557 (declare-function comp-tests-pure-fibn-entry-f nil) 1557 (declare-function comp-tests-pure-fibn-entry-f nil)