X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ftrace-table.lisp;h=f006add74449a8eee72be2720a31aa0d1d1bdc01;hb=8731c1a7c1a585d190151fa881050fb5e14c0616;hp=6c77bd17acf88bfb63825d43bab42d6c96d12c07;hpb=50462f68bf70faf0bd96de7517643afb740543e6;p=sbcl.git diff --git a/src/compiler/trace-table.lisp b/src/compiler/trace-table.lisp index 6c77bd1..f006add 100644 --- a/src/compiler/trace-table.lisp +++ b/src/compiler/trace-table.lisp @@ -18,11 +18,11 @@ (push (cons label state) *trace-table-info*)) (values)) -(defconstant tt-bits-per-state 3) -(defconstant tt-bytes-per-entry 2) -(defconstant tt-bits-per-entry (* tt-bytes-per-entry sb!vm:n-byte-bits)) -(defconstant tt-bits-per-offset (- tt-bits-per-entry tt-bits-per-state)) -(defconstant tt-max-offset (1- (ash 1 tt-bits-per-offset))) +(def!constant tt-bits-per-state 3) +(def!constant tt-bytes-per-entry 2) +(def!constant tt-bits-per-entry (* tt-bytes-per-entry sb!vm:n-byte-bits)) +(def!constant tt-bits-per-offset (- tt-bits-per-entry tt-bits-per-state)) +(def!constant tt-max-offset (1- (ash 1 tt-bits-per-offset))) (deftype tt-state () `(unsigned-byte ,tt-bits-per-state))