Hi,
I have a llvm-pass in hand written by other people. There are following statements that I couldn’t understand:
-------------------------------program----------------------------------------------------
…
if (isa(inst) || isa(inst)) {
const CallSite cs(inst);
if (cs.getCalledFunction() == NULL)
return dealAtIndirectCall(cs);
else
return dealAtDirectCall(cs);
}
…