search for: 26d78c3a

Displaying 2 results from an estimated 2 matches for "26d78c3a".

2010 Nov 30
0
[LLVMdev] the called function equal NULL
On Nov 29, 2010, at 5:22 PM, huwei8717 wrote: > Hi, > > I have a llvm-pass in hand written by other people. There are following statements that I couldn't understand: > > -------------------------------program---------------------------------------------------- > ... > if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) { > const CallSite cs(inst);
2010 Nov 30
2
[LLVMdev] the called function equal NULL
Hi, I have a llvm-pass in hand written by other people. There are following statements that I couldn't understand: -------------------------------program---------------------------------------------------- ... if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) { const CallSite cs(inst); if (cs.getCalledFunction() == NULL) return dealAtIndirectCall(cs); else