Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cd059314f62d61385dd3c75e6c730fa10cff1d9
      
https://github.com/WebKit/WebKit/commit/2cd059314f62d61385dd3c75e6c730fa10cff1d9
  Author: Dan Hecht <[email protected]>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp

  Log Message:
  -----------
  [JSC] OMG: exception catch does not need to preserve non-inlineParent 
expressionStack
https://bugs.webkit.org/show_bug.cgi?id=295804
rdar://155638688

Reviewed by Keith Miller.

The logic to preserve the top-most expressionStack for inlineParents
is a bit overzealous and preserves the expressionStack
for the leaf frame. That's not necessary since these expressions
are popped from the stack before entering the catch handler, so
these expressions will be dead anyway inside the handler.

Also make the explicit for when the control block has an
exception variable associated with it, since these inlineParent
expressionStacks don't really have an associated entry in
the ControlStack.

Finally, factor out this non-trivial duplicated code into a function.

Canonical link: https://commits.webkit.org/297340@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to