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
This test started failing after #16627. Prior to that change the
exceptions destructors were called via the following code in JS:
```
// In Wasm, destructors return 'this' as in ARM
{{{ makeDynCall('pp', 'destructor') }}}(info.excPtr);
```
For some reason the LTO build produces the following for for the call
to `exception_header->exceptionDestructor(thrown_object)` in
`__cxa_decrement_exception_refcount`:
```
call_indirect 0 (type 0)
```
Where as the normal non-LTO build produces:
```
call 13 <invoke_ii>
```
Because invoke_ii goes via JS it uses the sloppy type checking and
doesn't trap, but `call_indirect` has strict type checking and so
does trap.
0 commit comments