Get rid of duplicate assignment of a->avail in gc_new_arena.
git-svn-id: svn://10.0.0.236/trunk@182440 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
45f6edada1
commit
bba772f46d
@ -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…
x
Reference in New Issue
Block a user