mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Get rid of duplicate assignment of a->avail in gc_new_arena.
This commit is contained in:
parent
a0e7cd8c30
commit
b61061c6e9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user