diff --git a/js/src/jsgc.c b/js/src/jsgc.c index f9192405fba7..5e38e6a6c543 100644 --- a/js/src/jsgc.c +++ b/js/src/jsgc.c @@ -201,7 +201,7 @@ gc_new_arena(JSArenaPool *pool, size_t nbytes) a = pool->current; /* Reset a->avail to start at the flags split, aka the first thing page. */ - p = a->avail = FIRST_THING_PAGE(a); + p = FIRST_THING_PAGE(a); split = pagep = (uint8 *) p; a->avail = FIRST_THING(p, nbytes); JS_ASSERT(a->avail >= p + sizeof(JSGCPageInfo));