X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Ftrace-table.lisp;h=f006add74449a8eee72be2720a31aa0d1d1bdc01;hb=HEAD;hp=6c77bd17acf88bfb63825d43bab42d6c96d12c07;hpb=86210c4e406c1b2ff10cc3bac0e71435867db48b;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))