From 9ab262695d8e4eb8b7662e4c3ec88b74c865cddf Mon Sep 17 00:00:00 2001 From: Brendan Eich Date: Thu, 14 Jan 2010 14:22:00 -0800 Subject: [PATCH] Fast followup fix for thinko (536564, r=jorendorff). --- js/src/jsparse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsparse.cpp b/js/src/jsparse.cpp index ec59039b6274..a9d76d6ee4b2 100644 --- a/js/src/jsparse.cpp +++ b/js/src/jsparse.cpp @@ -2092,7 +2092,7 @@ JSCompiler::setFunctionKinds(JSFunctionBox *funbox, uint32& tcflags) for (JSParseNode *method = funbox->methods; method; method = method->pn_link) { JS_ASSERT(PN_OP(method) == JSOP_LAMBDA || PN_OP(method) == JSOP_LAMBDA_FC); ++methodSets; - if (!funbox->joinable()) + if (!method->pn_funbox->joinable()) ++slowMethodSets; }