julia
4183b2c2 - Support adding `CodeInstance`s to JIT for interpreters defining a codegen cache (#57272)

Commit
263 days ago
Support adding `CodeInstance`s to JIT for interpreters defining a codegen cache (#57272) Implements a way to add `CodeInstance`s compiled by external interpreters to JIT, such that they become legal targets for `invoke` calls. Based on a design proposed by @Keno, the `AbstractInterpreter` interface is extended to support providing a codegen cache that is filled during inference for future use with `add_codeinsts_to_jit!`. This allows `invoke(f, ::CodeInstance, args...)` to work on external interpreters, which is currently failing on `master` (see #57193). --------- Co-authored-by: Cédric Belmant <cedric.belmant@juliahub.com> (cherry picked from commit 9d2e9ed8a275f770994488ec3e4bd3f04b9a229e)
Author
Committer
Parents
Loading