Skip to content
Snippets Groups Projects
Commit b0b88c24 authored by Sylvain Henry's avatar Sylvain Henry Committed by Ben Gamari
Browse files

JS: support levity-polymorphic datatypes (#22360,#22291)

- thread knowledge about levity into PrimRep instead of panicking
- JS: remove assumption that unlifted heap objects are rts objects (TVar#, etc.)

Doing this also fixes #22291 (test added).

There is a small performance hit (~1% more allocations).

Metric Increase:
    T18698a
    T18698b

(cherry picked from commit 8d6574bc)
parent e5615af4
No related branches found
No related tags found
No related merge requests found
Showing
with 127 additions and 113 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment