Add spliceFunction to the CallGraph interface. This allows users to efficiently