mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Move a slow test
This commit is contained in:
parent
6f560815ed
commit
6b98706d72
|
|
@ -3050,23 +3050,6 @@
|
|||
:allow-failure t))))
|
||||
|
||||
|
||||
(declaim (maybe-inline inline-recursive))
|
||||
(defun inline-recursive (x)
|
||||
(declare (muffle-conditions compiler-note
|
||||
style-warning))
|
||||
(if (zerop x)
|
||||
x
|
||||
(inline-recursive (1- x))))
|
||||
(declaim (inline inline-recursive))
|
||||
|
||||
(with-test (:name :reanalyze-functionals-when-inlining)
|
||||
(checked-compile-and-assert
|
||||
()
|
||||
`(lambda (x)
|
||||
(inline-recursive x)
|
||||
(inline-recursive x))
|
||||
((5) 0)))
|
||||
|
||||
(with-test (:name :split-let-unused-vars)
|
||||
(checked-compile-and-assert
|
||||
()
|
||||
|
|
|
|||
|
|
@ -154,3 +154,20 @@
|
|||
(values-list list)))
|
||||
(('(1 2)) '(1))
|
||||
(('(1)) (condition 'type-error))))
|
||||
|
||||
(declaim (maybe-inline inline-recursive))
|
||||
(defun inline-recursive (x)
|
||||
(declare (muffle-conditions compiler-note
|
||||
style-warning))
|
||||
(if (zerop x)
|
||||
x
|
||||
(inline-recursive (1- x))))
|
||||
(declaim (inline inline-recursive))
|
||||
|
||||
(with-test (:name :reanalyze-functionals-when-inlining)
|
||||
(checked-compile-and-assert
|
||||
()
|
||||
`(lambda (x)
|
||||
(inline-recursive x)
|
||||
(inline-recursive x))
|
||||
((5) 0)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue