[Webkit-unassigned] [Bug 237173] New: operationMaterializeObjectInOSR should DeferTerminationForAWhile instead of just DeferTermination.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 24 17:57:08 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=237173

            Bug ID: 237173
           Summary: operationMaterializeObjectInOSR should
                    DeferTerminationForAWhile instead of just
                    DeferTermination.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

DeferTermination can throw the TerminationException on destruction of the scope object.  operationMaterializeObjectInOSR() was using DeferTermination resulting in the TerminationException being thrown on exit.  This trips up validateDFGExceptionHandling testing which is enabled on Debug builds.  The solution is simply to use DeferTerminationForAWhile instead, and let a more natural trap checkpoint throw the TerminationException instead.

rdar://89428235

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220225/bc86476f/attachment.htm>


More information about the webkit-unassigned mailing list