[webkit-changes] [WebKit/WebKit] 7451a7: Minor refactoring in CatchScope.

EWS noreply at github.com
Sun Sep 18 12:51:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7451a72657e8f615954874bbbf9ebec08b577d64
      https://github.com/WebKit/WebKit/commit/7451a72657e8f615954874bbbf9ebec08b577d64
  Author: Mark Lam <mark.lam at apple.com>
  Date:   2022-09-18 (Sun, 18 Sep 2022)

  Changed paths:
    M Source/JavaScriptCore/heap/MarkedSpace.h
    M Source/JavaScriptCore/runtime/CatchScope.h

  Log Message:
  -----------
  Minor refactoring in CatchScope.
https://bugs.webkit.org/show_bug.cgi?id=245337
<rdar://problem/100091910>

Reviewed by Justin Michaud.

Refactor out common method implementations in CatchScope that is not dependent on
ENABLE(EXCEPTION_SCOPE_VERIFICATION) instead of duplicating them.

Also fixed a comment in MarkedSpace.h.

* Source/JavaScriptCore/heap/MarkedSpace.h:
* Source/JavaScriptCore/runtime/CatchScope.h:
(JSC::CatchScope::clearException):
(JSC::CatchScope::clearExceptionExceptTermination):

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




More information about the webkit-changes mailing list