Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing exception check in ScriptExecutable::newCodeBlockFor
https://bugs.webkit.org/show_bug.cgi?id=255259 rdar://107856292 Reviewed by Mark Lam and Yusuke Suzuki. ModuleProgramExecutable::getUnlinkedCodeBlock can throw runtime errors. We should handle those. * Source/JavaScriptCore/runtime/ScriptExecutable.cpp: (JSC::ScriptExecutable::newCodeBlockFor): Canonical link: https://commits.webkit.org/262796@main
- Loading branch information
Yijia Huang
committed
Apr 11, 2023
1 parent
22c8b78
commit 8b60968
Showing
3 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters