Bug 695752 - Part 3 - class ParseNodeAllocator. r=luke.

This commit is contained in:
Jason Orendorff
2011-10-19 16:45:05 -05:00
parent b8a7b63aec
commit 1a9272312b
7 changed files with 73 additions and 84 deletions

View File

@@ -206,7 +206,7 @@ BytecodeCompiler::compileScript(JSContext *cx, JSObject *scopeChain, StackFrame
if (!pn->isKind(TOK_SEMI) || !pn->pn_kid || !TreeTypeIsXML(pn->pn_kid->getKind()))
onlyXML = false;
#endif
RecycleTree(pn, &cg);
cg.freeTree(pn);
}
#if JS_HAS_XML_SUPPORT