Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f9e6d8b3c7e64475df6f44246055d2c86de86ba1
      
https://github.com/WebKit/WebKit/commit/f9e6d8b3c7e64475df6f44246055d2c86de86ba1
  Author: Shu-yu Guo <[email protected]>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    A JSTests/stress/megamorphic-get-by-id-overrides-getter-exception-check.js
    M Source/JavaScriptCore/jit/JITOperations.cpp

  Log Message:
  -----------
  [JSC] getByIdMegamorphic needs a throw scope
https://bugs.webkit.org/show_bug.cgi?id=314002
rdar://176129042

Reviewed by Darin Adler, Yijia Huang, and Yusuke Suzuki.

getByIdMegamorphic can trigger user-defined getters, which can throw, and so
needs a throw scope.

Test: JSTests/stress/megamorphic-get-by-id-overrides-getter-exception-check.js

* JSTests/stress/megamorphic-get-by-id-overrides-getter-exception-check.js: 
Added.
(megamorphicGetById.get obj):
(megamorphicGetById):
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::getByIdMegamorphic):

Originally-landed-as: 305413.833@safari-7624-branch (6e81451ccd9a). 
rdar://180436734
Canonical link: https://commits.webkit.org/316380@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to