search for: 74dc2a75

Displaying 2 results from an estimated 2 matches for "74dc2a75".

2010 Nov 30
0
[LLVMdev] the called function equal NULL
...call to a value of function-pointer type, e.g. void callit(void (*f)()) { f(); } Virtual calls in C++ would also have no known called function. John. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101129/74dc2a75/attachment.html>
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