model_server/DIS_dormant/src/DORMANTswApp.cxx
// Do analysis and extract the dead code
Do analysis and extract the dead code
Do analysis and extract the dead code
bool DORMANTswApp::Extract(int rootId)
{
    Initialize(DORMANTswApp::Extract);
    RTListServer* rootRTL = RTListServer::find(rootId);
    if (rootRTL) {
        symbolArr roots(0);
        roots = rootRTL->getArr();
        decomposer *d = new decomposer;
        setupDefaults();
        d->go_deadcode_only(roots, defaultweights, NWEIGHTS); 
    }
    return(vTRUE);
}
bool DORMANTswApp :: Extract ( int rootId ) { Initialize ( DORMANTswApp :: Extract ) ; RTListServer * rootRTL = RTListServer :: find ( rootId ) ; if ( rootRTL ) { symbolArr roots ( 0 ) ; roots = rootRTL -> getArr ( ) ; decomposer * d = new decomposer ; setupDefaults ( ) ; d -> go_deadcode_only ( roots , defaultweights , NWEIGHTS ) ; } return ( vTRUE ) ; }
Do analysis and extract the dead code
Do analysis and extract the dead code