From 3b91b3f362b00688a71429351549cd69f5bdedd6 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Sat, 24 Aug 2002 22:14:15 +0000 Subject: [PATCH] One-character fix to a comment, use modulus with %, not mask. --- js/src/jsgc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsgc.c b/js/src/jsgc.c index bf934a086c4a..57f517a354a2 100644 --- a/js/src/jsgc.c +++ b/js/src/jsgc.c @@ -145,7 +145,7 @@ struct JSGCThing { * no discontinuities over the split created by the thing pages. So if, for a * given JSGCPageInfo *pi, we find that * - * pi->flags + ((jsuword)thing % 1023) / sizeof(JSGCThing) >= pi->split + * pi->flags + ((jsuword)thing % 1024) / sizeof(JSGCThing) >= pi->split * * then we must add GC_THINGS_SIZE to the nominal flags pointer to jump over * all the thing pages that split the flags into two discontiguous spans.