1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

Fix mistake in comment in tags.h

* libguile/tags.h: Fix comment in discussion of data representation.
  tc3-code #0b110 indicates a small integer and #0b100 indicates a
  non-integer immediate.  Previously, these were reversed.
This commit is contained in:
Mark H Weaver 2011-02-10 14:15:52 -05:00 committed by Andy Wingo
parent 1a3152f7df
commit 1ce7279a06

View file

@ -258,8 +258,8 @@ typedef scm_t_uintptr scm_t_bits;
* *
* If the cell holds a scheme pair, then we already know that the first * If the cell holds a scheme pair, then we already know that the first
* scm_t_bits variable of the cell will hold a scheme object with one of the * scm_t_bits variable of the cell will hold a scheme object with one of the
* following tc3-codes: #b000 (non-immediate), #b010 (small integer), #b100 * following tc3-codes: #b000 (non-immediate), #b010 (small integer), #b110
* (small integer), #b110 (non-integer immediate). All these tc3-codes have * (small integer), #b100 (non-integer immediate). All these tc3-codes have
* in common, that their least significant bit is #b0. This fact is used by * in common, that their least significant bit is #b0. This fact is used by
* the garbage collector to identify cells that hold pairs. The remaining * the garbage collector to identify cells that hold pairs. The remaining
* tc3-codes are assigned as follows: #b001 (class instance or, more * tc3-codes are assigned as follows: #b001 (class instance or, more