restrain-jit icon indicating copy to clipboard operation
restrain-jit copied to clipboard

unwrapping the jitted functions referenced when jitting

Open thautwarm opened this issue 5 years ago • 0 comments

@jit
def f(x):
     return x + 1

@jit
def g(x):
    f(x + 1)

Inside g, the global reference f should be unwrapped into a native function pointer in g's native code representation.

thautwarm avatar Sep 18 '19 09:09 thautwarm