Files
tubestation/js
Ryan Hunt b6101f3180 Bug 1914422 - wasm: Support inlining when caller has a try block. r=yury
Handle inlining a call instruction when it is inside of a try block.

  - inTryCode is extended to return true when a callerCompiler has a try block
  - inTryCode now returns the vector of control flow patches to add the exception
    throwing instruction to, instead of the `TryControl`.
  - When an exception is thrown in an inlined function without a handler in the
    same function, we add it to a list (bodyRethrowPadPatches_) to be handled
    at the end of compilation.
  - The inline unhandled exceptions are joined together into a single block which
    finishInlinedCallDirect links to the landing pad in the inline caller function.
  - Driveby fix to not emit a 'catchable' call when a builtin method is infallible.

Depends on D224171

Differential Revision: https://phabricator.services.mozilla.com/D224172
2024-10-17 03:07:24 +00:00
..