Closed btwj closed 6 months ago
@titzer I'm currently having trouble with the JVM target when it generates the heap image wrt closures. This happens when we have code pointers from a closure stored in a reference slot (#ref
), see ub_cell00.v3
. I'm also not that sure what the JVMV3ClosureAdapterGen
is doing. Could you give me a couple pointers?
Scratch that, I figured out how to fix it.
This PR reworks how variants are solved. Instead of the previous approach using
unifyRepresentations
, the target provides a mapping fromType
to aScalar.set
.TODOs/Issues
IntEq
with along
and0:int
(generated by zeroConst). Had to create new boxed zeros and ones.