author | Ms2ger <ms2ger@gmail.com> |
Mon, 23 Jul 2012 12:41:57 +0200 | |
changeset 100123 | 4c75b59971a6afc9b6c4758ebe04513551d790ca |
parent 100122 | 9d8425b8e1cdda943d6ebcd7e39e4848e6dbc003 |
child 100124 | 0a5b58d92843dcd90afe1e7e17f596c6957c15ca |
push id | 23169 |
push user | emorley@mozilla.com |
push date | Tue, 24 Jul 2012 09:54:00 +0000 |
treeherder | mozilla-central@a26e751bfb54 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 761510 |
milestone | 17.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
|
--- a/js/src/frontend/SemanticAnalysis.cpp +++ b/js/src/frontend/SemanticAnalysis.cpp @@ -50,18 +50,17 @@ SetFunctionKinds(FunctionBox *funbox, bo ParseNode *pn = fn->pn_body; if (!pn) continue; 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, * ensure that its containing function has been flagged as * heavyweight. * * The emitter must see funIsHeavyweight() accurately before * generating any code for a tree of nested functions.