Fix comment typo in f30da38f918b. no r
authorJim Blandy <jimb@mozilla.com>
Mon, 20 Dec 2010 09:43:18 -0800
changeset 59900 11094bb03918afb80e1c2e214388c0324f7ed40c
parent 59899 35697ebafa6cfed3459f58a7e9da2ae29be0482b
child 59901 e68411a60cdb02f28236b09ed9b76f8f2ba22d41
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
Fix comment typo in f30da38f918b. no r
js/src/jsparse.cpp
js/src/methodjit/InvokeHelpers.cpp
--- a/js/src/jsparse.cpp
+++ b/js/src/jsparse.cpp
@@ -428,17 +428,19 @@ 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 {
-        UnlinkFunctionBoxes(pn, tc);
+        /* We don't recycle funboxes, so just drop it. No need to unlink. */
+        pn->pn_funbox = NULL;
+
         head = &tc->parser->nodeList;
         pn->pn_next = *head;
         *head = pn;
 #ifdef METER_PARSENODES
         recyclednodes++;
 #endif
     }
     return next;
--- a/js/src/methodjit/InvokeHelpers.cpp
+++ b/js/src/methodjit/InvokeHelpers.cpp
@@ -1,9 +1,9 @@
-/* -*- mOde: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  * vim: set ts=4 sw=4 et tw=99:
  *
  * ***** BEGIN LICENSE BLOCK *****
  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  *
  * The contents of this file are subject to the Mozilla Public License Version
  * 1.1 (the "License"); you may not use this file except in compliance with
  * the License. You may obtain a copy of the License at