[LLVMdev] CallGraphSCCPass

Duncan Sands baldrick at free.fr
Wed Oct 19 12:48:39 PDT 2011


Hi Ryan,

>                  const CallGraphNode *CGNode = cast<CallGraphNode>(&*CGNodeItr);

does this work better:
   CallGraphNode *CGNode = *CGNodeItr;
?

It looks to me like &*CGNodeItr is a CallGraphNode** not a CallGraphNode*.

Ciao, Duncan.



More information about the llvm-dev mailing list