WebKit Upgrade (#19839)

Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Ben Grant <ben@bun.sh>
Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2025-05-22 21:12:43 -07:00
committed by GitHub
parent bca833ad59
commit 69be630aea
213 changed files with 1126 additions and 1039 deletions

View File

@@ -496,7 +496,7 @@ String sourceURL(const JSC::SourceOrigin& origin)
String sourceURL(JSC::SourceProvider* sourceProvider)
{
if (UNLIKELY(!sourceProvider)) {
if (!sourceProvider) [[unlikely]] {
return String();
}
@@ -531,7 +531,7 @@ String sourceURL(JSC::CodeBlock& codeBlock)
String sourceURL(JSC::CodeBlock* codeBlock)
{
if (UNLIKELY(!codeBlock)) {
if (!codeBlock) [[unlikely]] {
return String();
}
@@ -544,7 +544,7 @@ String sourceURL(JSC::VM& vm, const JSC::StackFrame& frame)
return "[wasm code]"_s;
}
if (UNLIKELY(!frame.hasLineAndColumnInfo())) {
if (!frame.hasLineAndColumnInfo()) [[unlikely]] {
return "[native code]"_s;
}
@@ -627,7 +627,7 @@ String functionName(JSC::VM& vm, JSC::JSGlobalObject* lexicalGlobalObject, JSC::
}
}
}
if (UNLIKELY(catchScope.exception())) {
if (catchScope.exception()) [[unlikely]] {
catchScope.clearException();
}
}
@@ -636,7 +636,7 @@ String functionName(JSC::VM& vm, JSC::JSGlobalObject* lexicalGlobalObject, JSC::
// Then try the "displayName" property (what this does internally)
auto catchScope = DECLARE_CATCH_SCOPE(vm);
functionName = JSC::getCalculatedDisplayName(vm, object);
if (UNLIKELY(catchScope.exception())) {
if (catchScope.exception()) [[unlikely]] {
catchScope.clearException();
}
}