Follow-up to patch for bug 669369. Fix silly mistake Ms2ger noted in comment 3.
authorJason Orendorff <jorendorff@mozilla.com>
Wed, 31 Aug 2011 10:28:36 -0500
changeset 76332 0504a441fef78c7d247270b6296760e3af062aa9
parent 76331 1cd7272274401940f88cb3a311c1ba5973585726
child 76333 a0fb16f50677663405fce56a058f940135c44011
push id21097
push userbmo@edmorley.co.uk
push dateThu, 01 Sep 2011 07:45:07 +0000
treeherdermozilla-central@7d3d1c2c75f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs669369
milestone9.0a1
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
Follow-up to patch for bug 669369. Fix silly mistake Ms2ger noted in comment 3.
js/src/jsparse.cpp
--- a/js/src/jsparse.cpp
+++ b/js/src/jsparse.cpp
@@ -2471,17 +2471,17 @@ Parser::setFunctionKinds(JSFunctionBox *
 
         JS_ASSERT(fun->kind() == JSFUN_INTERPRETED);
 
         if (funbox->tcflags & TCF_FUN_HEAVYWEIGHT) {
             /* nothing to do */
         } else if (funbox->inAnyDynamicScope()) {
             JS_ASSERT(!fun->isNullClosure());
         } else {
-            uintN hasUpvars = false;
+            bool hasUpvars = false;
             bool canFlatten = true;
 
             if (pn->pn_type == TOK_UPVARS) {
                 AtomDefnMapPtr upvars = pn->pn_names;
                 JS_ASSERT(!upvars->empty());
 
                 /*
                  * For each lexical dependency from this closure to an outer