Bug 828466 - Remove some ParseNode morphing. Part 1, FoldConstants. r=Waldo.
This commit is contained in:
@@ -185,7 +185,7 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, AbstractFramePtr
|
||||
return UnrootedScript(NULL);
|
||||
}
|
||||
|
||||
if (!FoldConstants(cx, pn, &parser))
|
||||
if (!FoldConstants(cx, &pn, &parser))
|
||||
return UnrootedScript(NULL);
|
||||
if (!NameFunctions(cx, pn))
|
||||
return UnrootedScript(NULL);
|
||||
|
||||
Reference in New Issue
Block a user