Fast followup fix for thinko (536564, r=jorendorff).

This commit is contained in:
Brendan Eich 2010-01-14 14:22:00 -08:00
Родитель 78e7916894
Коммит 9ab262695d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}