X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ffndb.lisp;h=efee3759acd49561e3f87da6ffa4e711a25e3d19;hb=119c1bcd2cfff74d2968209207ea34ba0e1739f7;hp=7ba684bb22f67df9b8a3bff90a2ad81014b6a705;hpb=b6aed043108ac99142b124306a346d18a99d21ef;p=sbcl.git diff --git a/src/compiler/fndb.lisp b/src/compiler/fndb.lisp index 7ba684b..efee375 100644 --- a/src/compiler/fndb.lisp +++ b/src/compiler/fndb.lisp @@ -1509,7 +1509,7 @@ :destroyed-constant-args (nth-constant-args 1)) (defknown %set-symbol-value (symbol t) t (unsafe)) (defknown (setf symbol-function) (function symbol) function (unsafe)) -(defknown %set-symbol-plist (symbol t) t (unsafe)) +(defknown %set-symbol-plist (symbol list) list (unsafe)) (defknown (setf fdocumentation) ((or string null) t symbol) (or string null) ()) @@ -1554,9 +1554,9 @@ (defknown style-warn (string &rest t) null ()) ;;;; atomic ops -#!+(or x86 x86-64) -(progn - (defknown %simple-vector-compare-and-swap (simple-vector index t t) t - (unsafe)) - (defknown %instance-compare-and-swap (instance index t t) t - (unsafe))) +(defknown %compare-and-swap-svref (simple-vector index t t) t + (unsafe)) +(defknown %compare-and-swap-instance-ref (instance index t t) t + (unsafe)) +(defknown %compare-and-swap-symbol-value (symbol t t) t + (unsafe unwind))