From: Paul Khuong Date: Sat, 8 Jun 2013 02:25:57 +0000 (-0400) Subject: Adjust internal encoding for TN location for larger SC count limit X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=f69e89d31d95c15469110ba75ae1da8ac7cf3f32;p=sbcl.git Adjust internal encoding for TN location for larger SC count limit We need one more bit to encode values up to 62. --- diff --git a/src/code/sc-offset.lisp b/src/code/sc-offset.lisp index b05c9b7..1811dd6 100644 --- a/src/code/sc-offset.lisp +++ b/src/code/sc-offset.lisp @@ -16,8 +16,8 @@ ;;;; We represent the place where some value is stored with a SC-OFFSET, ;;;; which is the SC number and offset encoded as an integer. -(defconstant-eqx sc-offset-scn-byte (byte 5 0) #'equalp) -(defconstant-eqx sc-offset-offset-byte (byte 22 5) #'equalp) +(defconstant-eqx sc-offset-scn-byte (byte 6 0) #'equalp) +(defconstant-eqx sc-offset-offset-byte (byte 21 6) #'equalp) (def!type sc-offset () '(unsigned-byte 27)) (defmacro make-sc-offset (scn offset)