bool runOnSCC(CallGraphSCC &SCC) override {
Out << Banner;
- for (CallGraphSCC::iterator I = SCC.begin(), E = SCC.end(); I != E; ++I)
+ for (CallGraphSCC::iterator I = SCC.begin(), E = SCC.end(); I != E; ++I) {
+ assert((*I)->getFunction() && "Expecting non-null Function");
(*I)->getFunction()->print(Out);
+ }
return false;
}
};