- Has a Function argument, Called from
FunctionNode* frontend::StandaloneFunctionCompiler<Unit>::parsewhich has a function argument, called fromstatic bool CompileStandaloneFunctionwhich has a function argument. Called frombool frontend::CompileStandaloneGeneratorbool frontend::CompileStandaloneAsyncFunctionbool frontend::CompileStandaloneAsyncGenerator- All of the above
CompileStandAlones, plus the belowCompileStandAloneFunctionare called fromCreateDynamicFunction: the function is allocated there. The above three are -only- called fromCreateDynamicFunction.
- All of the above
bool frontend::CompileStandaloneFunctionwhich has a function argument. Called fromJSFunction* FunctionCompiler::finishwhich allocates the functionCompileStandAloneFunctionis called fromHandleInstantiationFailure, which allocates a JSFunction for when AsmJS compilation fails for some reason.
- Function comes from
RootedFunction fun(cx_, handler_.nextLazyInnerFunction());I can't quite figure out how this works (how do you get the 'right' lazyInnerFunction, does it matter?) -- is this infix related.
- Has a function argument, called from
GeneralParser<ParseHandler, Unit>::functionDefinitionwhich allocates the function
- Has function argument, called from
bool Parser<FullParseHandler, Unit>::trySyntaxParseInnerFunction, has function argument. Called from: See above (GeneralParser<>::functionDefinition)- An aside: This happens if we fail to do a syntax parse.
bool Parser<SyntaxParseHandler, Unit>::trySyntaxParseInnerFunction, has function argument, called from: see above (GeneralParser<>::functionDefinition)
- Has function argument called from
static bool CompileLazyFunctionImpl. UsesRooted<JSFunction*> fun(cx, lazy->functionNonDelazifying());as the function- Not sure how that works
- allocates a new function directly
- Allocates a new function directly.