add a new CallGraphNode::replaceCallEdge method and use it from