Bug 759246 (part 2) - Move SharedContext::functionList to TreeContext. r=jorendorff.

This commit is contained in:
Nicholas Nethercote
2012-05-28 20:46:03 -07:00
parent 86dfb66865
commit e54244d73e
5 changed files with 12 additions and 11 deletions

View File

@@ -199,7 +199,7 @@ frontend::CompileScript(JSContext *cx, JSObject *scopeChain, StackFrame *callerF
if (!AnalyzeFunctions(bce.parser))
return NULL;
sc.functionList = NULL;
tc.functionList = NULL;
if (!EmitTree(cx, &bce, pn))
return NULL;