From 74aa7d7baae8ac0bee7e3e8a61ff5cb49a88a88e Mon Sep 17 00:00:00 2001 From: Chris Leary Date: Mon, 20 Dec 2010 11:15:43 -0800 Subject: [PATCH] Back out the accidental part of 11094bb03918. --- js/src/jsparse.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/src/jsparse.cpp b/js/src/jsparse.cpp index c2a52195a7..8345bef2ed 100644 --- a/js/src/jsparse.cpp +++ b/js/src/jsparse.cpp @@ -433,9 +433,7 @@ RecycleTree(JSParseNode *pn, JSTreeContext *tc) pn->pn_next = NULL; RecycleFuncNameKids(pn, tc); } else { - /* We don't recycle funboxes, so just drop it. No need to unlink. */ - pn->pn_funbox = NULL; - + UnlinkFunctionBoxes(pn, tc); head = &tc->parser->nodeList; pn->pn_next = *head; *head = pn; -- 2.11.4.GIT