first draft of JITFunctionCache