Minor lowtag-handling cleanup in genesis.
authorAlastair Bridgewater <nyef@virtdev-1.lisphacker.com>
Wed, 26 Oct 2011 14:38:15 +0000 (10:38 -0400)
committerAlastair Bridgewater <nyef@virtdev-1.lisphacker.com>
Wed, 26 Oct 2011 14:38:15 +0000 (10:38 -0400)
commita32e302e869993d89fd9c247d4f038fcc7dfdac9
tree42955909d12dce44c248d22282133980ab0de6bb
parent8b88c2076197247908a5035df1ebbf833c554383
Minor lowtag-handling cleanup in genesis.

  * Instead of explicitly testing a lowtag against two or four
constants (with scary reader conditionals for making the decision)
to determine if a given lowtag is an other-immediate, introduce a
function, IS-OTHER-IMMEDIATE-LOWTAG, paralleling IS-FIXNUM-LOWTAG,
with commentary, operating along the same lines as a similar
function in runtime.h.
src/compiler/generic/genesis.lisp