Optimize some internal functions with zero safety.

This commit is contained in:
Juan Jose Garcia Ripoll 2010-05-07 23:52:53 +02:00
parent 2495ae0b8e
commit 1d7ef44ed1

View file

@ -740,6 +740,7 @@ if not possible."
;;
(defun find-type-bounds (type in-our-family-p type-<= minimize-super)
(declare (si::c-local)
(optimize (safety 0))
(function in-our-family-p type-<=))
(let* ((subtype-tag 0)
(disjoint-tag 0)
@ -772,6 +773,7 @@ if not possible."
;;
(defun register-type (type in-our-family-p type-<=)
(declare (si::c-local)
(optimize (safety 0))
(function in-our-family-p type-<=))
(or (find-registered-tag type)
(multiple-value-bind (tag-super tag-sub)