src/third_party/mozjs/extract/js/src/devtools/rootAnalysis/loadCallgraph.js
// functionLimits to the set of all functions, each mapped to LIMIT_UNVISTED.
functionLimits to the set of all functions, each mapped to LIMIT_UNVISTED.
functionLimits to the set of all functions each mapped to LIMIT_UNVISTED .
function gather_simple_roots(functionLimits, callersOf) {
    const roots = [];
    for (let callee in callersOf)
        functionLimits[callee] = LIMIT_UNVISITED;
    for (let caller in calleesOf) {
        if (!(caller in callersOf)) {
            functionLimits[caller] = LIMIT_UNVISITED;
            roots.push([caller, LIMIT_NONE, 'root']);
        }
    }
    return roots;
}
function gather_simple_roots ( functionLimits , callersOf ) { const roots = [ ] ; for ( let callee in callersOf ) functionLimits [ callee ] = LIMIT_UNVISITED ; for ( let caller in calleesOf ) { if ( ! ( caller in callersOf ) ) { functionLimits [ caller ] = LIMIT_UNVISITED ; roots . push ( [ caller , LIMIT_NONE , 'root' ] ) ; } } return roots ; }
functionLimits to the set of all functions, each mapped to LIMIT_UNVISTED.
functionLimits to the set of all functions each mapped to LIMIT_UNVISTED .