micro-optimize sane-package a tiny bit more
authorChristophe Rhodes <csr21@cantab.net>
Sat, 16 Mar 2013 12:05:31 +0000 (12:05 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 22 Mar 2013 12:05:04 +0000 (12:05 +0000)
src/code/primordial-extensions.lisp

index 3a5350f..284b401 100644 (file)
                 ;; but it will immediately lead to undefined to behavior,
                 ;; since almost any operation on a deleted package is
                 ;; undefined.
-                (package-name maybe-package))
+                #-sb-xc-host
+                (package-%name maybe-package))
            maybe-package)
           (t
            ;; We're in the undefined behavior zone. First, munge the