(e)
| 516 | // with metadata optimised out otherwise. |
| 517 | ___cxa_rethrow(); |
| 518 | } catch (e) { |
| 519 | #if !DISABLE_EXCEPTION_THROWING || WASM_EXCEPTIONS |
| 520 | // ___cxa_rethrow incremented uncaughtExceptionCount. |
| 521 | // Since we caught it in JS, we need to manually decrement it to balance. |
| 522 | decrementUncaughtExceptionCount(); |
| 523 | #endif |
| 524 | var handle = Emval.toHandle(e); |
| 525 | #if !DISABLE_EXCEPTION_CATCHING || WASM_EXCEPTIONS |
| 526 | emval_exception_decrefs[handle] = decrementExceptionRefcount; |
| 527 | #endif |
| 528 | return handle; |
| 529 | } |
| 530 | }, |
| 531 | }; |
| 532 |
nothing calls this directly
no outgoing calls
no test coverage detected