Bug 761510 - Followup: remove unused variable in opt builds.

This commit is contained in:
Ms2ger 2012-07-23 12:41:57 +02:00
parent c6ba1ec99f
commit fa5bf4cd95

View File

@ -55,8 +55,7 @@ SetFunctionKinds(FunctionBox *funbox, bool *isHeavyweight, bool topInFunction, b
if (funbox->kids)
SetFunctionKinds(funbox->kids, isHeavyweight, topInFunction, isDirectEval);
JSFunction *fun = funbox->function();
JS_ASSERT(fun->isInterpreted());
JS_ASSERT(funbox->function()->isInterpreted());
if (pn->isKind(PNK_UPVARS)) {
/*
* We loop again over all upvars, and for each non-free upvar,