X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=1f39e627d30fcf8eeddf5ce30b36deda403a1226;hb=75b52379bdc2269961af6a1308eca63610f38ac3;hp=d0f3312046369b34c3b57b6a730a3b78f5c09889;hpb=1a68f34a511841986710cc0012417a8633ab7241;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index d0f3312..1f39e62 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -340,7 +340,7 @@ (defknown decode-float (float) (values float float-exponent float) (movable foldable flushable explicit-check)) -(defknown scale-float (float float-exponent) float +(defknown scale-float (float integer) float (movable foldable unsafely-flushable explicit-check)) (defknown float-radix (float) float-radix (movable foldable flushable)) @@ -787,7 +787,7 @@ (defknown hash-table-size (hash-table) index (flushable)) (defknown hash-table-test (hash-table) symbol (foldable flushable)) (defknown sxhash (t) (integer 0 #.sb!xc:most-positive-fixnum) - (foldable flushable)) + (#-sb-xc-host foldable flushable)) ;;;; from the "Arrays" chapter @@ -1468,6 +1468,19 @@ (defknown sb!vm::push-word-on-c-stack (system-area-pointer) (values) (unsafe)) (defknown sb!vm::pop-words-from-c-stack (index) (values) ()) +#!+linkage-table +(defknown foreign-symbol-dataref-address (simple-string) + system-area-pointer + (movable flushable)) + +(defknown foreign-symbol-address (simple-string &optional boolean) + system-area-pointer + (movable flushable)) + +(defknown foreign-symbol-address-as-integer (simple-string &optional boolean) + integer + (movable flushable)) + ;;;; miscellaneous internal utilities (defknown %fun-name (function) t (flushable)) @@ -1482,3 +1495,4 @@ (values) ()) (defknown style-warn (string &rest t) null ()) +