CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7

This commit is contained in:
Eddy Bruel
2013-02-19 23:51:40 +01:00
parent 4c1afb5ec7
commit 5f104053e5
8 changed files with 39 additions and 61 deletions

View File

@@ -253,7 +253,7 @@ frontend::CompileFunctionBody(JSContext *cx, HandleFunction fun, CompileOptions
fun->setArgCount(formals.length());
/* FIXME: make Function format the source for a function definition. */
ParseNode *fn = CodeNode::create(PNK_FUNCTION, &parser);
ParseNode *fn = FunctionNode::create(PNK_FUNCTION, &parser);
if (!fn)
return false;