Back out the accidental part of 11094bb03918.
authorChris Leary <cdleary@mozilla.com>
Mon, 20 Dec 2010 11:15:43 -0800
changeset 59901 e68411a60cdb02f28236b09ed9b76f8f2ba22d41
parent 59900 11094bb03918afb80e1c2e214388c0324f7ed40c
child 59902 563a9221c6c53ee5fef485fb84d954c25437e6e2
push id17820
push usercleary@mozilla.com
push dateTue, 04 Jan 2011 21:40:57 +0000
treeherdermozilla-central@969691cfe40e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Back out the accidental part of 11094bb03918.
js/src/jsparse.cpp
--- a/js/src/jsparse.cpp
+++ b/js/src/jsparse.cpp
@@ -428,19 +428,17 @@ RecycleTree(JSParseNode *pn, JSTreeConte
          * linkage overhead or (alternatively) unlinking runtime complexity.
          * Yes, this means dead code can contribute to static analysis results!
          *
          * Do recycle kids here, since they are no longer needed.
          */
         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;
 #ifdef METER_PARSENODES
         recyclednodes++;
 #endif
     }
     return next;