x86-64: Treat more symbols as having immediate storage class
[sbcl.git] / src / compiler / dyncount.lisp
blob775ec317bfddb625dd0727ecfd864dd41ce03c48
1 ;;;; support for collecting dynamic vop statistics
3 ;;;; This software is part of the SBCL system. See the README file for
4 ;;;; more information.
5 ;;;;
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
12 (in-package "SB!DYNCOUNT")
14 (defvar *collect-dynamic-statistics* nil
15 "When T, emit extra code to collect dynamic statistics about vop usages.")
17 (defvar *dynamic-counts-tn* nil
18 "Holds the TN for the counts vector.")
20 (def!struct (dyncount-info)
21 for
22 (costs (missing-arg) :type (simple-array (unsigned-byte 32) (*)))
23 (counts (missing-arg) :type (simple-array (unsigned-byte 32) (*))))
24 (!set-load-form-method dyncount-info (:target))
26 (defprinter (dyncount-info)
27 for
28 costs
29 counts)