You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optimizing functions with anyref locals runs into assertion #2444
when I attempt to optimize it with optimizeLevel > 1. The problem goes away if I remove the second
(drop
(call$ref_is_null
(local.get$0)
)
)
from the function or make $0 a function parameter, so I guess that there is an optimization trying to move/copy local values around that causes this as soon as there are two local.gets of the same anyref local or something along those lines. This isn't overly important, just ran into this while trying to polyfill ref.null etc. so we can have shiny things. Perhaps there's an easy fix?
Activity
aheejin commentedon Nov 18, 2019
I'm working on reference types support now, and this will be fixed by that patch soon. Thank you for reporting.
Add support for reference types proposal (#2451)