mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 23:01:58 +00:00
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:
@@ -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('\'');
|
||||
|
||||
Reference in New Issue
Block a user