restrain-jit
restrain-jit copied to clipboard
unwrapping the jitted functions referenced when jitting
@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.