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

@@ -403,7 +403,7 @@ void determineSpecificType(JSC::VM& vm, JSC::JSGlobalObject* globalObject, WTF::
view = str->substring(0, 25);
}
builder.append("type string ("_s);
if (UNLIKELY(needsEscape)) {
if (needsEscape) [[unlikely]] {
builder.append('"');
if (view.is8Bit()) {
const auto span = view.span<LChar>();
@@ -431,7 +431,7 @@ void determineSpecificType(JSC::VM& vm, JSC::JSGlobalObject* globalObject, WTF::
if (needsEllipsis) {
builder.append("..."_s);
}
if (UNLIKELY(needsEscape)) {
if (needsEscape) [[unlikely]] {
builder.append('"');
} else {
builder.append('\'');