Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] Use DeferGCForAWhile instead of DeferGC in computeErrorInfo
https://bugs.webkit.org/show_bug.cgi?id=268489 rdar://121906810 Reviewed by Mark Lam, Yusuke Suzuki and Justin Michaud. ErrorInstance::computeErrorInfo can be called from GC's Heap::runEndPhase. In the case, we should use DeferGCForAWhile instead of DeferGC since it can trigger another GC in its destruction. * Source/JavaScriptCore/runtime/ErrorInstance.cpp: (JSC::ErrorInstance::computeErrorInfo): Originally-landed-as: 272448.442@safari-7618-branch (58204e8). rdar://124554094 Canonical link: https://commits.webkit.org/276346@main
- Loading branch information