Add new getJITStubForFunction method, which may optionally be implemented by