Bug 790424 (part 2) - Remove ParseContext::functionList and FunctionBox::{siblings,kids}. r=jimb.

This commit is contained in:
Nicholas Nethercote
2012-09-12 18:50:39 -07:00
parent 5194e9853d
commit 569d2085ab
6 changed files with 2 additions and 44 deletions

View File

@@ -194,8 +194,6 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
if (!NameFunctions(cx, pn))
return NULL;
pc.functionList = NULL;
if (!EmitTree(cx, &bce, pn))
return NULL;
@@ -310,7 +308,7 @@ frontend::CompileFunctionBody(JSContext *cx, HandleFunction fun, CompileOptions
* at the end.
*/
ParseNode *pn = parser.functionBody(Parser::StatementListBody);
if (!pn)
if (!pn)
return false;
if (!parser.tokenStream.matchToken(TOK_EOF)) {