src/third_party/mozjs/extract/js/src/devtools/rootAnalysis/callgraph.js
// the case of multiple inheritance.
the case of multiple inheritance.
the case of multiple inheritance .
function nearestAncestorMethods(csu, field)
{
    const key = fieldKey(csu, field);
    if (virtualDefinitions.has(key))
        return new Set(virtualDefinitions.get(key));
    const functions = new Set();
    if (superclasses.has(csu)) {
        for (const parent of superclasses.get(csu))
            functions.update(nearestAncestorMethods(parent, field));
    }
    return functions;
}
function nearestAncestorMethods ( csu , field ) { const key = fieldKey ( csu , field ) ; if ( virtualDefinitions . has ( key ) ) return new Set ( virtualDefinitions . get ( key ) ) ; const functions = new Set ( ) ; if ( superclasses . has ( csu ) ) { for ( const parent of superclasses . get ( csu ) ) functions . update ( nearestAncestorMethods ( parent , field ) ) ; } return functions ; }
the case of multiple inheritance.
the case of multiple inheritance .