size = (cg->treeContext.tryCount + 1) * sizeof(JSTryNote); PR_ARENA_ALLOCATE(cg->tryBase, &cx->tempPool, size); if (!cg->tryBase) return JS_FALSE; cg->tryNext = cg->tryBase;
if (!cg->tryBase) { size = (cg->treeContext.tryCount + 1) * sizeof(JSTryNote); PR_ARENA_ALLOCATE(cg->tryBase, &cx->tempPool, size); if (!cg->tryBase) return JS_FALSE; cg->tryNext = cg->tryBase; } else {  ptrdiff_t nextOffset = cg->tryNext - cg->tryBase; size_t oldsize = (char *)cg->tryLimit - (char *)cg->tryBase; size = oldsize + cg->treeContext.tryCount * sizeof(JSTryNote);  PR_ARENA_GROW(cg->tryBase, &cx->tempPool, oldsize, size); if (!cg->tryBase) return JS_FALSE;   cg->tryNext = (JSTryNote *)((char *)cg->tryBase + nextOffset); }
js_AllocTryNotes(JSContext *cx, JSCodeGenerator *cg){    size_t size;    size = (cg->treeContext.tryCount + 1) * sizeof(JSTryNote);    PR_ARENA_ALLOCATE(cg->tryBase, &cx->tempPool, size);    if (!cg->tryBase)	return JS_FALSE;    cg->tryNext = cg->tryBase;    cg->tryLimit = (JSTryNote *)((char *)cg->tryBase + size);    return JS_TRUE;}