Open github-actions[bot] opened 1 year ago
/js/src/frontend/Stencil.cpp
--- 7d89a3d4f78eaa57e2990bd0bbd0dbb81a07e3b4/js/src/frontend/Stencil.cpp +++ 4091bed4a0aae7772537e08e6cb49bf0bc7434c9/js/src/frontend/Stencil.cpp @@ -2035,16 +2035,20 @@ static JSFunction* CreateFunctionFast(JS fun->initEnvironment(nullptr); if (script.functionAtom) { JSAtom* atom = atomCache.getExistingAtomAt(cx, script.functionAtom); MOZ_ASSERT(atom); fun->initAtom(atom); } +#ifdef DEBUG + fun->assertFunctionKindIntegrity(); +#endif + return fun; } static JSFunction* CreateFunction(JSContext* cx, CompilationAtomCache& atomCache, const CompilationStencil& stencil, const ScriptStencil& script, const ScriptStencilExtra& scriptExtra,
Files
/js/src/frontend/Stencil.cpp
Changesets
Diffs
/js/src/frontend/Stencil.cpp