Remove vops for LOWTAG-OF
[sbcl.git] / src / code / stubs.lisp
blobb213e70e4fb2c128dd2fe87247835f2ccada0011
1 ;;;; miscellaneous primitive stubs (ordinary FDEFINITIONs for full
2 ;;;; call defined in terms of fundamental definitions of inline
3 ;;;; expansions)
5 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; more information.
7 ;;;;
8 ;;;; This software is derived from the CMU CL system, which was
9 ;;;; written at Carnegie Mellon University and released into the
10 ;;;; public domain. The software is in the public domain and is
11 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
12 ;;;; files for more information.
14 (in-package "SB!IMPL")
16 (macrolet ((def (name &optional (args '(x)))
17 `(defun ,name ,args
18 (,@(if (listp name) `(funcall #',name) `(,name)) ,@args))))
19 (def get-header-data)
20 (def set-header-data (x val))
21 (def get-closure-length)
22 (def widetag-of)
23 (def %other-pointer-widetag)
24 (def vector-sap)
25 (def binding-stack-pointer-sap ())
26 (def dynamic-space-free-pointer ())
27 (def control-stack-pointer-sap ())
28 (def sb!c:safe-fdefn-fun)
29 (def fun-subtype)
30 (def simple-fun-p)
31 (def %simple-fun-arglist)
32 (def (setf %simple-fun-arglist) (new-value func))
33 (def %simple-fun-name)
34 (def (setf %simple-fun-name) (new-value func))
35 (def closurep)
36 (def %closure-fun)
37 (def %closure-index-ref (closure index))
38 (def sb!c::vector-length)
39 (def allocate-vector (type length words))
40 (def make-array-header (type rank))
41 (def code-instructions)
42 (def code-header-ref (code-obj index))
43 (def code-header-set (code-obj index new))
44 (def %vector-raw-bits (object offset))
45 (def make-single-float)
46 (def make-double-float (hi lo))
47 (def single-float-bits)
48 (def double-float-high-bits)
49 (def double-float-low-bits)
50 (def value-cell-ref)
51 (def %caller-frame ())
52 (def %caller-pc ())
53 (def %code-code-size)
54 (def %code-debug-info)
55 (def %funcallable-instance-layout)
56 (def %set-funcallable-instance-layout (x new-value)))