(let ((native-comp-speed 3)
;; Disable ipa-pure otherwise `comp-tests-tco-f' gets
;; optimized-out.
- (comp-disabled-passes '(comp-ipa-pure))
- (comp-post-pass-hooks '((comp-tco comp-tests-tco-checker)
+ (comp-disabled-passes '(comp--ipa-pure))
+ (comp-post-pass-hooks '((comp--tco comp-tests-tco-checker)
(comp-final comp-tests-tco-checker))))
(eval '(defun comp-tests-tco-f (a b count)
(if (= count 0)
(comp-deftest fw-prop-1 ()
"Some tests for forward propagation."
(let ((native-comp-speed 2)
- (comp-post-pass-hooks '((comp-final comp-tests-fw-prop-checker-1))))
+ (comp-post-pass-hooks '((comp--final comp-tests-fw-prop-checker-1))))
(eval '(defun comp-tests-fw-prop-1-f ()
(let* ((a "xxx")
(b "yyy")
(comp-deftest pure ()
"Some tests for pure functions optimization."
(let ((native-comp-speed 3)
- (comp-post-pass-hooks '((comp-final comp-tests-pure-checker-1
- comp-tests-pure-checker-2))))
+ (comp-post-pass-hooks '((comp--final comp-tests-pure-checker-1
+ comp-tests-pure-checker-2))))
(load (native-compile (ert-resource-file "comp-test-pure.el")))
(declare-function comp-tests-pure-caller-f nil)
(declare-function comp-tests-pure-fibn-entry-f nil)